public interface SOAPConstants
| Modifier and Type | Field | Description | 
|---|---|---|
| static String | DEFAULT_SOAP_PROTOCOL | The default protocol: SOAP 1.1 for backwards compatibility. | 
| static String | DYNAMIC_SOAP_PROTOCOL | Used to create  MessageFactoryinstances that createSOAPMessageswhose concrete type is based on theContent-TypeMIME header passed to thecreateMessagemethod. | 
| static String | SOAP_1_1_CONTENT_TYPE | The media type  of the  Content-TypeMIME header in SOAP 1.1. | 
| static String | SOAP_1_1_PROTOCOL | Used to create  MessageFactoryinstances that createSOAPMessageswhose behavior supports the SOAP 1.1  specification. | 
| static String | SOAP_1_2_CONTENT_TYPE | The media type  of the  Content-TypeMIME header in SOAP 1.2. | 
| static String | SOAP_1_2_PROTOCOL | Used to create  MessageFactoryinstances that createSOAPMessageswhose behavior supports the SOAP 1.2
 specification | 
| static QName | SOAP_DATAENCODINGUNKNOWN_FAULT | SOAP 1.2 DataEncodingUnknown Fault | 
| static String | SOAP_ENV_PREFIX | The default namespace prefix for http://www.w3.org/2003/05/soap-envelope | 
| static QName | SOAP_MUSTUNDERSTAND_FAULT | SOAP 1.2 MustUnderstand Fault | 
| static QName | SOAP_RECEIVER_FAULT | SOAP 1.2 Receiver Fault | 
| static QName | SOAP_SENDER_FAULT | SOAP 1.2 Sender Fault | 
| static QName | SOAP_VERSIONMISMATCH_FAULT | SOAP 1.2 VersionMismatch Fault | 
| static String | URI_NS_SOAP_1_1_ENVELOPE | The namespace identifier for the SOAP 1.1 envelope. | 
| static String | URI_NS_SOAP_1_2_ENCODING | The namespace identifier for the SOAP 1.2 encoding. | 
| static String | URI_NS_SOAP_1_2_ENVELOPE | The namespace identifier for the SOAP 1.2 envelope. | 
| static String | URI_NS_SOAP_ENCODING | The namespace identifier for the SOAP 1.1 encoding. | 
| static String | URI_NS_SOAP_ENVELOPE | The namespace identifier for the SOAP 1.1 envelope, All SOAPElements in this
 namespace are defined by the SOAP 1.1 specification. | 
| static String | URI_SOAP_1_2_ROLE_NEXT | The URI identifying the next application processing a SOAP request as the intended
 role for a SOAP 1.2 header entry (see section 2.2 of part 1 of the SOAP 1.2
 specification). | 
| static String | URI_SOAP_1_2_ROLE_NONE | The URI specifying the role None in SOAP 1.2. | 
| static String | URI_SOAP_1_2_ROLE_ULTIMATE_RECEIVER | The URI identifying the ultimate receiver of the SOAP 1.2 message. | 
| static String | URI_SOAP_ACTOR_NEXT | The URI identifying the next application processing a SOAP request as the intended
 actor for a SOAP 1.1 header entry (see section 4.2.2 of the SOAP 1.1 specification). | 
static final String DYNAMIC_SOAP_PROTOCOL
MessageFactory instances that create
 SOAPMessages whose concrete type is based on the
 Content-Type MIME header passed to the
 createMessage method. If no Content-Type
 header is passed then the createMessage may throw an
 IllegalArgumentException or, in the case of the no
 argument version of createMessage, an
 UnsupportedOperationException.static final String SOAP_1_1_PROTOCOL
MessageFactory instances that create
 SOAPMessages whose behavior supports the SOAP 1.1  specification.static final String SOAP_1_2_PROTOCOL
MessageFactory instances that create
 SOAPMessages whose behavior supports the SOAP 1.2
 specificationstatic final String DEFAULT_SOAP_PROTOCOL
static final String URI_NS_SOAP_1_1_ENVELOPE
static final String URI_NS_SOAP_1_2_ENVELOPE
static final String URI_NS_SOAP_ENVELOPE
static final String URI_NS_SOAP_ENCODING
encodingStyle in the
 URI_NS_SOAP_ENVELOPE namespace and set to the value
 URI_NS_SOAP_ENCODING can be added to an element to indicate
 that it is encoded using the rules in section 5 of the SOAP 1.1
 specification.static final String URI_NS_SOAP_1_2_ENCODING
static final String SOAP_1_1_CONTENT_TYPE
Content-Type MIME header in SOAP 1.1.static final String SOAP_1_2_CONTENT_TYPE
Content-Type MIME header in SOAP 1.2.static final String URI_SOAP_ACTOR_NEXT
 This value can be passed to
 SOAPHeader.examineMustUnderstandHeaderElements(String),
 SOAPHeader.examineHeaderElements(String) and
 SOAPHeader.extractHeaderElements(String)
static final String URI_SOAP_1_2_ROLE_NEXT
static final String URI_SOAP_1_2_ROLE_NONE
static final String URI_SOAP_1_2_ROLE_ULTIMATE_RECEIVER
static final String SOAP_ENV_PREFIX
static final QName SOAP_VERSIONMISMATCH_FAULT
static final QName SOAP_MUSTUNDERSTAND_FAULT
static final QName SOAP_DATAENCODINGUNKNOWN_FAULT
static final QName SOAP_SENDER_FAULT
static final QName SOAP_RECEIVER_FAULT
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.