This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.xml.ws.soap
interface SOAPBinding

All Superinterfaces:
Binding

public interface SOAPBinding
extends Binding

The SOAPBinding interface is an abstraction for the SOAP binding.


Field Summary
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
 MessageFactory

          Gets the SAAJ MessageFactory instance used by this SOAP binding.
 Set

          Gets the roles played by the SOAP binding instance.
 SOAPFactory

          Gets the SAAJ SOAPFactory instance used by this SOAP binding.
 boolean

          Returns true if the use of MTOM is enabled.
 void
setMTOMEnabled(boolean flag)

          Enables or disables use of MTOM.
 void
setRoles(Set roles)

          Sets the roles played by the SOAP binding instance.
 
Methods inherited from class javax.xml.ws.Binding
getBindingID, getHandlerChain, setHandlerChain
 

Field Detail

SOAP11HTTP_BINDING

public static final String SOAP11HTTP_BINDING
A constant representing the identity of the SOAP 1.1 over HTTP binding.

SOAP11HTTP_MTOM_BINDING

public static final String SOAP11HTTP_MTOM_BINDING
A constant representing the identity of the SOAP 1.1 over HTTP binding with MTOM enabled by default.

SOAP12HTTP_BINDING

public static final String SOAP12HTTP_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP binding.

SOAP12HTTP_MTOM_BINDING

public static final String SOAP12HTTP_MTOM_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP binding with MTOM enabled by default.
Method Detail

getMessageFactory

public MessageFactory getMessageFactory()
Gets the SAAJ MessageFactory instance used by this SOAP binding.

Returns:
MessageFactory instance used by this SOAP binding.

getRoles

public Set getRoles()
Gets the roles played by the SOAP binding instance.

Returns:
Set The set of roles played by the binding instance.

getSOAPFactory

public SOAPFactory getSOAPFactory()
Gets the SAAJ SOAPFactory instance used by this SOAP binding.

Returns:
SOAPFactory instance used by this SOAP binding.

isMTOMEnabled

public boolean isMTOMEnabled()
Returns true if the use of MTOM is enabled.

Returns:
true if and only if the use of MTOM is enabled.

setMTOMEnabled

public void setMTOMEnabled(boolean flag)
Enables or disables use of MTOM.

Parameters:
flag - A boolean specifying whether the use of MTOM should be enabled or disabled.

setRoles

public void setRoles(Set roles)
Sets the roles played by the SOAP binding instance.

Parameters:
roles - The set of roles played by the binding instance.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.