com.ebmwebsourcing.commons.wsdl.api
Interface Binding

All Superinterfaces:
java.io.Serializable, WSDLElement
All Known Implementing Classes:
AbstractBindingImpl, BindingImpl, BindingImpl

public interface Binding
extends WSDLElement

This interface represents a port type binding and describes the protocol required for using operations in a port type.

Author:
Nicolas Salatge - eBM WebSourcing

Nested Class Summary
static class Binding.BindingConstants
          SOAP Version Constants for the Message Exchange Patterns.
static class Binding.StyleConstant
          Constants for the style of Message Exchange.
 
Method Summary
 void addBindingOperation(BindingOperation bindingOperation)
          Add an operation binding to binding.
 BindingOperation getBindingOperation(java.lang.String name)
          Get the specified operation binding.
 java.util.List<BindingOperation> getBindingOperations()
          Get all the operation bindings defined here.
 java.lang.String getHttpContentEncodingDefault()
           
 java.lang.String getHttpDefaultMethod()
           
 java.lang.String getHttpQueryParameterSeparatorDefault()
           
 InterfaceType getInterface()
          Get the port type this is a binding for.
 javax.xml.namespace.QName getQName()
          Get the name of this binding.
 Binding.StyleConstant getStyle()
          get style
 java.lang.String getTransportProtocol()
          get the transport protocol
 Binding.BindingConstants getTypeOfBinding()
          get type of binding
 java.lang.String getVersion()
          get the version of soap binding
 boolean isHttpCookies()
           
 BindingOperation removeBindingOperation(java.lang.String name)
          Remove the specified operation binding.
 void setInterface(InterfaceType interfaceType)
          Set the port type this is a binding for.
 void setQName(javax.xml.namespace.QName name)
          Set the name of this binding.
 void setTransportProtocol()
          set the transport protocol
 
Methods inherited from interface com.ebmwebsourcing.commons.wsdl.api.WSDLElement
createDocumentation, getDocumentation, getOtherAttributes, getOtherElements, setDocumentation
 

Method Detail

setQName

void setQName(javax.xml.namespace.QName name)
Set the name of this binding.

Parameters:
name - the desired name

getQName

javax.xml.namespace.QName getQName()
Get the name of this binding.

Returns:
the binding name

setInterface

void setInterface(InterfaceType interfaceType)
Set the port type this is a binding for.

Parameters:
interfaceType - the port type associated with this binding

getInterface

InterfaceType getInterface()
Get the port type this is a binding for.

Returns:
the associated port type

addBindingOperation

void addBindingOperation(BindingOperation bindingOperation)
Add an operation binding to binding.

Parameters:
bindingOperation - the operation binding to be added

getBindingOperation

BindingOperation getBindingOperation(java.lang.String name)
Get the specified operation binding. Note that operation names can be overloaded within a PortType.

Throws:
java.lang.IllegalArgumentException - if duplicate operations are found.

getBindingOperations

java.util.List<BindingOperation> getBindingOperations()
Get all the operation bindings defined here.


removeBindingOperation

BindingOperation removeBindingOperation(java.lang.String name)
Remove the specified operation binding. Note that operation names can be overloaded within a PortType. Usage of the input and output message name parameters is as described for the getBindingOperation method.

Parameters:
name - the name of the operation binding to be removed.
Throws:
java.lang.IllegalArgumentException - if duplicate operations are found.
See Also:
getBindingOperation(String)

getTransportProtocol

java.lang.String getTransportProtocol()
get the transport protocol


setTransportProtocol

void setTransportProtocol()
set the transport protocol


getStyle

Binding.StyleConstant getStyle()
get style


getTypeOfBinding

Binding.BindingConstants getTypeOfBinding()
get type of binding


getVersion

java.lang.String getVersion()
get the version of soap binding

Returns:

getHttpDefaultMethod

java.lang.String getHttpDefaultMethod()

getHttpQueryParameterSeparatorDefault

java.lang.String getHttpQueryParameterSeparatorDefault()

isHttpCookies

boolean isHttpCookies()

getHttpContentEncodingDefault

java.lang.String getHttpContentEncodingDefault()


Copyright © 2008 eBM WebSourcing. All Rights Reserved.