org.apache.axis.wsdl
Class BindingEntry
java.lang.Object
|
+--org.apache.axis.wsdl.SymTabEntry
|
+--org.apache.axis.wsdl.BindingEntry
- public class BindingEntry
- extends SymTabEntry
This class represents a WSDL binding. It encompasses the WSDL4J Binding object so it can
reside in the SymbolTable. It also adds a few bits of information that are a nuisance to get
from the WSDL4J Binding object: binding type, binding style, input/output/fault body types.
Inner Class Summary |
protected static class |
BindingEntry.OperationAttr
Contains attributes for Operations
- Body type: encoded or literal |
Constructor Summary |
BindingEntry(javax.wsdl.Binding binding,
int bindingType,
int bindingStyle,
java.util.HashMap attributes)
Construct a BindingEntry from a WSDL4J Binding object and the additional binding info:
binding type, binding style, and the attributes which contain the input/output/fault body
type information. |
Method Summary |
javax.wsdl.Binding |
getBinding()
Get this entry's WSDL4J Binding object. |
int |
getBindingStyle()
Get this entry's binding style. |
int |
getBindingType()
Get this entry's binding type. |
int |
getFaultBodyType(javax.wsdl.Operation operation,
java.lang.String faultName)
Get the fault body type for the given fault of the given operation. |
int |
getInputBodyType(javax.wsdl.Operation operation)
Get the input body type for the given operation. |
int |
getOutputBodyType(javax.wsdl.Operation operation)
Get the output body type for the given operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
STYLE_RPC
public static final int STYLE_RPC
STYLE_DOCUMENT
public static final int STYLE_DOCUMENT
TYPE_SOAP
public static final int TYPE_SOAP
TYPE_HTTP_GET
public static final int TYPE_HTTP_GET
TYPE_HTTP_POST
public static final int TYPE_HTTP_POST
TYPE_UNKNOWN
public static final int TYPE_UNKNOWN
USE_ENCODED
public static final int USE_ENCODED
USE_LITERAL
public static final int USE_LITERAL
BindingEntry
public BindingEntry(javax.wsdl.Binding binding,
int bindingType,
int bindingStyle,
java.util.HashMap attributes)
- Construct a BindingEntry from a WSDL4J Binding object and the additional binding info:
binding type, binding style, and the attributes which contain the input/output/fault body
type information.
getBinding
public javax.wsdl.Binding getBinding()
- Get this entry's WSDL4J Binding object.
getBindingType
public int getBindingType()
- Get this entry's binding type. One of BindingEntry.TYPE_SOAP, BindingEntry.TYPE_HTTP_GET,
BindingEntry.TYPE_HTTP_POST.
getBindingStyle
public int getBindingStyle()
- Get this entry's binding style. One of BindingEntry.STYLE_RPC, BindingEntry.STYLE_DOCUMENT.
getInputBodyType
public int getInputBodyType(javax.wsdl.Operation operation)
- Get the input body type for the given operation. One of BindingEntry.USE_ENCODED,
BindingEntry.USE_LITERAL.
getOutputBodyType
public int getOutputBodyType(javax.wsdl.Operation operation)
- Get the output body type for the given operation. One of BindingEntry.USE_ENCODED,
BindingEntry.USE_LITERAL.
getFaultBodyType
public int getFaultBodyType(javax.wsdl.Operation operation,
java.lang.String faultName)
- Get the fault body type for the given fault of the given operation. One of
BindingEntry.USE_ENCODED, BindingEntry.USE_LITERAL.
Copyright © 2001 Apache XML Project. All Rights Reserved.