FileDocCategorySizeDatePackage
SOAPBinding.javaAPI DocJava SE 6 API2744Tue Jun 10 00:27:16 BST 2008javax.xml.ws.soap

SOAPBinding

public interface SOAPBinding implements Binding
The SOAPBinding interface is an abstraction for the SOAP binding.
since
JAX-WS 2.0

Fields Summary
public static final String
SOAP11HTTP_BINDING
A constant representing the identity of the SOAP 1.1 over HTTP binding.
public static final String
SOAP12HTTP_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP binding.
public static final String
SOAP11HTTP_MTOM_BINDING
A constant representing the identity of the SOAP 1.1 over HTTP binding with MTOM enabled by default.
public static final String
SOAP12HTTP_MTOM_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP binding with MTOM enabled by default.
Constructors Summary
Methods Summary
public javax.xml.soap.MessageFactorygetMessageFactory()
Gets the SAAJ MessageFactory instance used by this SOAP binding.

return
MessageFactory instance used by this SOAP binding.

public java.util.SetgetRoles()
Gets the roles played by the SOAP binding instance.

return
Set The set of roles played by the binding instance.

public javax.xml.soap.SOAPFactorygetSOAPFactory()
Gets the SAAJ SOAPFactory instance used by this SOAP binding.

return
SOAPFactory instance used by this SOAP binding.

public booleanisMTOMEnabled()
Returns true if the use of MTOM is enabled.

return
true if and only if the use of MTOM is enabled.

public voidsetMTOMEnabled(boolean flag)
Enables or disables use of MTOM.

param
flag A boolean specifying whether the use of MTOM should be enabled or disabled.
throws
WebServiceException If the specified setting is not supported by this binding instance.

public voidsetRoles(java.util.Set roles)
Sets the roles played by the SOAP binding instance.

param
roles The set of roles played by the binding instance.
throws
WebServiceException On an error in the configuration of the list of roles.