- 
- 
Field Summary
Fields Modifier and Type Field Description static StringSOAP11HTTP_BINDINGA constant representing the identity of the SOAP 1.1 over HTTP binding.static StringSOAP11HTTP_MTOM_BINDINGA constant representing the identity of the SOAP 1.1 over HTTP binding with MTOM enabled by default.static StringSOAP12HTTP_BINDINGA constant representing the identity of the SOAP 1.2 over HTTP binding.static StringSOAP12HTTP_MTOM_BINDINGA constant representing the identity of the SOAP 1.2 over HTTP binding with MTOM enabled by default. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description jakarta.xml.soap.MessageFactorygetMessageFactory()Gets the Jakarta SOAP with Attachments'MessageFactoryinstance used by this SOAP binding.Set<String>getRoles()Gets the roles played by the SOAP binding instance.jakarta.xml.soap.SOAPFactorygetSOAPFactory()Gets the Jakarta SOAP with Attachments'SOAPFactoryinstance used by this SOAP binding.booleanisMTOMEnabled()Returnstrueif the use of MTOM is enabled.voidsetMTOMEnabled(boolean flag)Enables or disables use of MTOM.voidsetRoles(Set<String> roles)Sets the roles played by the SOAP binding instance.- 
Methods inherited from interface jakarta.xml.ws.Binding
getBindingID, getHandlerChain, setHandlerChain 
 - 
 
 - 
 
- 
- 
Field Detail
- 
SOAP11HTTP_BINDING
static final String SOAP11HTTP_BINDING
A constant representing the identity of the SOAP 1.1 over HTTP binding.- See Also:
 - Constant Field Values
 
 
- 
SOAP12HTTP_BINDING
static final String SOAP12HTTP_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP binding.- See Also:
 - Constant Field Values
 
 
- 
SOAP11HTTP_MTOM_BINDING
static final String SOAP11HTTP_MTOM_BINDING
A constant representing the identity of the SOAP 1.1 over HTTP binding with MTOM enabled by default.- See Also:
 - Constant Field Values
 
 
- 
SOAP12HTTP_MTOM_BINDING
static final String SOAP12HTTP_MTOM_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP binding with MTOM enabled by default.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getRoles
Set<String> getRoles()
Gets the roles played by the SOAP binding instance.- Returns:
 Set<String>The set of roles played by the binding instance.
 
- 
setRoles
void setRoles(Set<String> roles)
Sets the roles played by the SOAP binding instance.- Parameters:
 roles- The set of roles played by the binding instance.- Throws:
 WebServiceException- On an error in the configuration of the list of roles.
 
- 
isMTOMEnabled
boolean isMTOMEnabled()
Returnstrueif the use of MTOM is enabled.- Returns:
 trueif and only if the use of MTOM is enabled.
 
- 
setMTOMEnabled
void setMTOMEnabled(boolean flag)
Enables or disables use of MTOM.- Parameters:
 flag- Abooleanspecifying whether the use of MTOM should be enabled or disabled.- Throws:
 WebServiceException- If the specified setting is not supported by this binding instance.
 
- 
getSOAPFactory
jakarta.xml.soap.SOAPFactory getSOAPFactory()
Gets the Jakarta SOAP with Attachments'SOAPFactoryinstance used by this SOAP binding.- Returns:
 - SOAPFactory instance used by this SOAP binding.
 
 
- 
getMessageFactory
jakarta.xml.soap.MessageFactory getMessageFactory()
Gets the Jakarta SOAP with Attachments'MessageFactoryinstance used by this SOAP binding.- Returns:
 - MessageFactory instance used by this SOAP binding.
 
 
 - 
 
 -