public interface SOAPBinding extends Binding
The SOAPBinding
interface is an abstraction for the SOAP binding.
static final String SOAP11HTTP_BINDING
A constant representing the identity of the SOAP 1.1 over HTTP binding.
static final String SOAP12HTTP_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP 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.
static final String SOAP12HTTP_MTOM_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP binding with MTOM enabled by default.
Set<String> getRoles()
Gets the roles played by the SOAP binding instance.
void setRoles(Set<String> roles)
Sets the roles played by the SOAP binding instance.
roles
- The set of roles played by the binding instance.WebServiceException
- On an error in the configuration of the list of roles.boolean isMTOMEnabled()
Returns true
if the use of MTOM is enabled.
true
if and only if the use of MTOM is enabled.void setMTOMEnabled(boolean flag)
Enables or disables use of MTOM.
flag
- A boolean
specifying whether the use of MTOM should be enabled or disabled.WebServiceException
- If the specified setting is not supported by this binding instance.SOAPFactory getSOAPFactory()
Gets the SAAJ SOAPFactory
instance used by this SOAP binding.
MessageFactory getMessageFactory()
Gets the SAAJ MessageFactory
instance used by this SOAP binding.
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.