Name
SOAPConstants
Synopsis
public interface SOAPConstants { // Public Constants public static final String URI_NS_SOAP_ENCODING; // ="http://schemas.xmlsoap.org/soap/encoding/” public static final String URI_NS_SOAP_ENVELOPE; // ="http://schemas.xmlsoap.org/soap/envelope/” public static final String URI_SOAP_ACTOR_NEXT; // ="http://schemas.xmlsoap.org/soap/actor/next” }
This interface defines three string-valued constants that are used within the SAAJ API:
-
URI_NS_SOAP_ENVELOPE
The URI of the namespace that is associated with the XML elements that make up the SOAP envelope (http://schemas.xmlsoap.org/soap/envelope/).
-
URI_NS_SOAP_ENCODING
The URI of the namespace that corresponds to the standard encoding rules defined in the SOAP specification (http://schemas.xmlsoap.org/soap/encoding/), usually referred to as the SOAP section 5 rules. This constant is used in conjunction with the
SOAPElement
setEncodingStyle( )
andgetEncodingStyle( )
methods.-
URI_SOAP_ACTOR_NEXT
This constant holds the well-known URI that is the distinguished value of the actor attribute of the SOAP header used to indicate that the header is intended to be processed by the next recipient of the message. This value can be supplied as the argument of the
setActor( )
method of theSOAPHeaderElement
interface and may be the return value of thegetActor( )
method.
Get Java Web Services in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.