|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SOAPBinding
The SOAPBinding
interface is an abstraction for
the SOAP binding.
Field Summary | |
---|---|
static java.lang.String |
SOAP11HTTP_BINDING
A constant representing the identity of the SOAP 1.1 over HTTP binding. |
static java.lang.String |
SOAP11HTTP_MTOM_BINDING
A constant representing the identity of the SOAP 1.1 over HTTP binding with MTOM enabled by default. |
static java.lang.String |
SOAP12HTTP_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP binding. |
static java.lang.String |
SOAP12HTTP_MTOM_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP binding with MTOM enabled by default. |
Method Summary | |
---|---|
javax.xml.soap.MessageFactory |
getMessageFactory()
Gets the SAAJ MessageFactory instance used by this SOAP binding. |
java.util.Set<java.lang.String> |
getRoles()
Gets the roles played by the SOAP binding instance. |
javax.xml.soap.SOAPFactory |
getSOAPFactory()
Gets the SAAJ SOAPFactory instance used by this SOAP binding. |
boolean |
isMTOMEnabled()
Returns true if the use of MTOM is enabled. |
void |
setMTOMEnabled(boolean flag)
Enables or disables use of MTOM. |
void |
setRoles(java.util.Set<java.lang.String> roles)
Sets the roles played by the SOAP binding instance. |
Methods inherited from interface javax.xml.ws.Binding |
---|
getBindingID, getHandlerChain, setHandlerChain |
Field Detail |
---|
static final java.lang.String SOAP11HTTP_BINDING
static final java.lang.String SOAP12HTTP_BINDING
static final java.lang.String SOAP11HTTP_MTOM_BINDING
static final java.lang.String SOAP12HTTP_MTOM_BINDING
Method Detail |
---|
java.util.Set<java.lang.String> getRoles()
void setRoles(java.util.Set<java.lang.String> roles)
roles
- The set of roles played by the binding instance.
WebServiceException
- On an error in the configuration of
the list of roles.boolean isMTOMEnabled()
true
if the use of MTOM is enabled.
true
if and only if the use of MTOM is enabled.void setMTOMEnabled(boolean flag)
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.javax.xml.soap.SOAPFactory getSOAPFactory()
SOAPFactory
instance used by this SOAP binding.
javax.xml.soap.MessageFactory getMessageFactory()
MessageFactory
instance used by this SOAP binding.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41