org.apache.ws.security
Interface SOAPConstants

All Superinterfaces:
Serializable
All Known Implementing Classes:
SOAP11Constants, SOAP12Constants

public interface SOAPConstants
extends 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
 String getEnvelopeURI()
          Obtain the envelope namespace for this version of SOAP
 javax.xml.namespace.QName getHeaderQName()
          Obtain the QName for the Header element
 String getMustunderstand()
          Deprecated. use getMustUnderstand() instead
 String getMustUnderstand()
          Obtain the "next" role/actor URI
 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

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


SOAP12_CONSTANTS

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

Method Detail

getEnvelopeURI

String getEnvelopeURI()
Obtain the envelope namespace for this version of SOAP


getHeaderQName

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


getBodyQName

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


getRoleAttributeQName

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


getNextRoleURI

String getNextRoleURI()
Obtain the "next" role/actor URI


getMustUnderstand

String getMustUnderstand()
Obtain the "next" role/actor URI


getMustunderstand

String getMustunderstand()
Deprecated. use getMustUnderstand() instead

Obtain the "next" role/actor URI



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