-
-
Field Summary
Fields Modifier and Type Field and Description static String
SOAP11HTTP_BINDING
A constant representing the identity of the SOAP 1.1 over HTTP binding.static String
SOAP11HTTP_MTOM_BINDING
A constant representing the identity of the SOAP 1.1 over HTTP binding with MTOM enabled by default.static String
SOAP12HTTP_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP binding.static String
SOAP12HTTP_MTOM_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP binding with MTOM enabled by default.
-
Method Summary
Methods Modifier and Type Method and Description MessageFactory
getMessageFactory()
Gets the SAAJMessageFactory
instance used by this SOAP binding.Set<String>
getRoles()
Gets the roles played by the SOAP binding instance.SOAPFactory
getSOAPFactory()
Gets the SAAJSOAPFactory
instance used by this SOAP binding.boolean
isMTOMEnabled()
Returnstrue
if the use of MTOM is enabled.void
setMTOMEnabled(boolean flag)
Enables or disables use of MTOM.void
setRoles(Set<String> roles)
Sets the roles played by the SOAP binding instance.-
Methods inherited from interface javax.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()
Returnstrue
if the use of MTOM is enabled.- Returns:
true
if and only if the use of MTOM is enabled.
-
setMTOMEnabled
void setMTOMEnabled(boolean flag)
Enables or disables use of MTOM.- Parameters:
flag
- Aboolean
specifying whether the use of MTOM should be enabled or disabled.- Throws:
WebServiceException
- If the specified setting is not supported by this binding instance.
-
getSOAPFactory
SOAPFactory getSOAPFactory()
Gets the SAAJSOAPFactory
instance used by this SOAP binding.- Returns:
- SOAPFactory instance used by this SOAP binding.
-
getMessageFactory
MessageFactory getMessageFactory()
Gets the SAAJMessageFactory
instance used by this SOAP binding.- Returns:
- MessageFactory instance used by this SOAP binding.
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/xml/ws/soap/SOAPBinding.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.