javax.xml.rpc
Interface Binding


public interface Binding

The interface javax.xml.rpc.Binding defines a Java representation for a protocol binding. An example of binding is SOAP 1.1 over HTTP. This interface is defined to be independent of SOAP 1.1.


Method Summary
 QName getPortType()
          Gets the port type associated with this binding
 java.lang.Object getProperty(java.lang.String name)
          Gets value of a named property associated with this binding
 java.lang.String getTransport()
          Gets the transport for this protocol binding.
 void setPortType(QName portType)
          Sets the port type associated with this binding
 void setProperty(java.lang.String name, java.lang.Object value)
          Sets a property associated with this binding
 void setTransport(java.lang.String protocol)
          Sets the transport for this protocol binding.
 

Method Detail

setTransport

public void setTransport(java.lang.String protocol)
Sets the transport for this protocol binding. The value http://schemas.xmlsoap.org/soap/http corresponds to the HTTP binding in the SOAP 1.1 specification.

getTransport

public java.lang.String getTransport()
Gets the transport for this protocol binding.

getPortType

public QName getPortType()
Gets the port type associated with this binding

setPortType

public void setPortType(QName portType)
Sets the port type associated with this binding

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
Sets a property associated with this binding

getProperty

public java.lang.Object getProperty(java.lang.String name)
Gets value of a named property associated with this binding