Previous section   Next section
SOAPConstants javax.xml.soap

SAAJ 1.1; JWSDP 1.0, J2EE 1.4
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( ) and getEncodingStyle( ) 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 the SOAPHeaderElement interface and may be the return value of the getActor( ) method.


  Previous section   Next section