org.ws4d.java.wsdl
Class WSDLBinding

java.lang.Object
  extended by org.ws4d.java.wsdl.NamedItem
      extended by 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


Constructor Summary
WSDLBinding()
           
WSDLBinding(QName name)
           
WSDLBinding(QName name, QName typeName)
           
 
Method Summary
abstract  java.lang.String getBindingNamespace()
          Returns the namespace URI which uniquely characterizes this specific binding.
static WSDLBindingBuilder getBuilder(java.lang.String namespace)
           
 WSDLOperation getOperation(java.lang.String name, java.lang.String inputName, java.lang.String outputName)
           
 DataStructure getOperations()
           
 WSDLPortType getPortType()
           
 QName getTypeName()
           
 WSDL getWsdl()
           
abstract  void serializeBindingExtension(org.xmlpull.v1.XmlSerializer serializer)
           
abstract  void serializeFaultExtension(IOType fault, org.xmlpull.v1.XmlSerializer serializer)
           
abstract  void serializeInputExtension(IOType input, org.xmlpull.v1.XmlSerializer serializer)
           
abstract  void serializeOperationExtension(WSDLOperation operation, org.xmlpull.v1.XmlSerializer serializer)
           
abstract  void serializeOutputExtension(IOType output, org.xmlpull.v1.XmlSerializer serializer)
           
 void setTypeName(QName typeName)
           
 java.lang.String toString()
           
 
Methods inherited from class org.ws4d.java.wsdl.NamedItem
getLocalName, getName, getNamespace, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

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 return
inputName - 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 type
outputName - 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