-
-
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.
-
-
Traduction non disponible
Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Version en cache
22/12/2024 14:47:58 Cette version de la page est en cache (à la date du 22/12/2024 14:47:58) afin d'accélérer le traitement. Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la dernère version de la page.Document créé le 11/06/2005, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-javax/xml/ws/soap/soapbinding.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.