org.ws4d.java.wsdl
Class WSDLBinding
java.lang.Object
org.ws4d.java.wsdl.NamedItem
org.ws4d.java.wsdl.WSDLBinding
- Direct Known Subclasses:
- SOAP12DocumentLiteralHTTPBinding
public abstract class WSDLBinding
- extends NamedItem
Implementation of the WSDL 1.1 Bindings.
WSDL 1.1, 2.5 Bindings
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WSDLBinding
public WSDLBinding()
WSDLBinding
public WSDLBinding(QName name)
- Parameters:
name
-
WSDLBinding
public WSDLBinding(QName name,
QName typeName)
- Parameters:
name
- typeName
- the fully qualified name of the port type to which this
binding refers
getBuilder
public static WSDLBindingBuilder getBuilder(java.lang.String namespace)
toString
public java.lang.String toString()
- Overrides:
toString
in class NamedItem
getBindingNamespace
public abstract java.lang.String getBindingNamespace()
- Returns the namespace URI which uniquely characterizes this specific
binding.
- Returns:
- the binding-specific URI for this binding
- See Also:
WSDLBindingBuilder.getNamespace()
serializeBindingExtension
public abstract void serializeBindingExtension(org.xmlpull.v1.XmlSerializer serializer)
throws java.io.IOException
- Throws:
java.io.IOException
serializeOperationExtension
public abstract void serializeOperationExtension(WSDLOperation operation,
org.xmlpull.v1.XmlSerializer serializer)
throws java.io.IOException
- Throws:
java.io.IOException
serializeInputExtension
public abstract void serializeInputExtension(IOType input,
org.xmlpull.v1.XmlSerializer serializer)
throws java.io.IOException
- Throws:
java.io.IOException
serializeOutputExtension
public abstract void serializeOutputExtension(IOType output,
org.xmlpull.v1.XmlSerializer serializer)
throws java.io.IOException
- Throws:
java.io.IOException
serializeFaultExtension
public abstract void serializeFaultExtension(IOType fault,
org.xmlpull.v1.XmlSerializer serializer)
throws java.io.IOException
- Throws:
java.io.IOException
getOperation
public WSDLOperation getOperation(java.lang.String name,
java.lang.String inputName,
java.lang.String outputName)
- Parameters:
name
- the local name of the operation to returninputName
- the name of the operation's input element, if any;
needed in case more than one operation with the same name
defined within the same port typeoutputName
- the name of the operation's output element, if any;
needed in case more than one operation with the same name
defined within the same port type
- Returns:
- the named operation or
null
getOperations
public DataStructure getOperations()
getPortType
public WSDLPortType getPortType()
getTypeName
public QName getTypeName()
- Returns:
- the typeName
setTypeName
public void setTypeName(QName typeName)
- Parameters:
typeName
- the typeName to set
getWsdl
public WSDL getWsdl()
- Returns:
- the wsdl