org.apache.axis.soap
Interface SOAPConstants

All Known Implementing Classes:
SOAP11Constants, SOAP12Constants

public interface SOAPConstants

An interface definining SOAP constants. This allows various parts of the engine to avoid hardcoding dependence on a particular SOAP version and its associated URIs, etc. This might be fleshed out later to encapsulate factories for behavioral objects which act differently depending on the SOAP version, but for now it just supplies common namespaces + QNames.

Author:
Glen Daniels (gdaniels@apache.org)

Field Summary
static SOAP11Constants SOAP11_CONSTANTS
          SOAP 1.1 constants - thread-safe and shared
static SOAP12Constants SOAP12_CONSTANTS
          SOAP 1.2 constants - thread-safe and shared
 
Method Summary
 QName getBodyQName()
          Obtain the QName for the Body element
 java.lang.String getEncodingURI()
          Obtain the encoding namespace for this version of SOAP
 java.lang.String getEnvelopeURI()
          Obtain the envelope namespace for this version of SOAP
 QName getFaultQName()
          Obtain the QName for the Fault element
 QName getHeaderQName()
          Obtain the QName for the Header element
 

Field Detail

SOAP11_CONSTANTS

public static final SOAP11Constants SOAP11_CONSTANTS
SOAP 1.1 constants - thread-safe and shared

SOAP12_CONSTANTS

public static final SOAP12Constants SOAP12_CONSTANTS
SOAP 1.2 constants - thread-safe and shared
Method Detail

getEnvelopeURI

public java.lang.String getEnvelopeURI()
Obtain the envelope namespace for this version of SOAP

getEncodingURI

public java.lang.String getEncodingURI()
Obtain the encoding namespace for this version of SOAP

getFaultQName

public QName getFaultQName()
Obtain the QName for the Fault element

getHeaderQName

public QName getHeaderQName()
Obtain the QName for the Header element

getBodyQName

public QName getBodyQName()
Obtain the QName for the Body element


Copyright © 2002 Apache XML Project. All Rights Reserved.