org.apache.ws.security
Interface SOAPConstants

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
SOAP11Constants, SOAP12Constants

public interface SOAPConstants
extends java.io.Serializable

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), Andras Avar (andras.avar@nokia.com)

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
 javax.xml.namespace.QName getBodyQName()
          Obtain the QName for the Body element
 java.lang.String getEnvelopeURI()
          Obtain the envelope namespace for this version of SOAP
 javax.xml.namespace.QName getHeaderQName()
          Obtain the QName for the Header element
 java.lang.String getMustunderstand()
          Deprecated. use getMustUnderstand() instead
 java.lang.String getMustUnderstand()
          Obtain the "next" role/actor URI
 java.lang.String getNextRoleURI()
          Obtain the "next" role/actor URI
 javax.xml.namespace.QName getRoleAttributeQName()
          Obtain the QName for the role attribute (actor/role)
 

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


getHeaderQName

public javax.xml.namespace.QName getHeaderQName()
Obtain the QName for the Header element


getBodyQName

public javax.xml.namespace.QName getBodyQName()
Obtain the QName for the Body element


getRoleAttributeQName

public javax.xml.namespace.QName getRoleAttributeQName()
Obtain the QName for the role attribute (actor/role)


getNextRoleURI

public java.lang.String getNextRoleURI()
Obtain the "next" role/actor URI


getMustUnderstand

public java.lang.String getMustUnderstand()
Obtain the "next" role/actor URI


getMustunderstand

public java.lang.String getMustunderstand()
Deprecated. use getMustUnderstand() instead

Obtain the "next" role/actor URI



Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.