xsul.soap12_util
Class Soap12Util

java.lang.Object
  extended byxsul.soap.SoapUtil
      extended byxsul.soap12_util.Soap12Util

public class Soap12Util
extends SoapUtil

SOAP 1.2 envelope manipulations utility methods.

Version:
$Revision: 1.12 $
Author:
Aleksander Slominski

Field Summary
static java.lang.String ATTR_ACTOR
           
static java.lang.String ATTR_MUST_UNDERSTAND
           
static java.lang.String ATTR_ROLE
           
static java.lang.String ELEM_BODY
           
static java.lang.String ELEM_ENVELOPE
           
static java.lang.String ELEM_HEADER
           
static java.lang.String NS_URI_SOAP12
           
static XmlNamespace SOAP12_ENC_NS
           
static java.lang.String SOAP12_ENC_PREFIX
           
static XmlNamespace SOAP12_NS
           
static java.lang.String URI_SOAP12_NEXT_ROLE
           
static java.lang.String URI_SOAP12_NONE_ROLE
           
static java.lang.String URI_SOAP12_ULTIMATE_ROLE
           
 
Method Summary
 XmlElement generateSoap12Fault(XmlNamespace faultCodeValueNs, java.lang.String faultCodeValueName, java.lang.String faultSubcodeValueNs, java.lang.String faultSubcodeValueName, java.lang.String reasonTextEnglish, java.lang.Throwable ex)
           
 XmlElement generateSoap12Fault(XmlNamespace faultCodeValueNs, java.lang.String faultCodeValueName, java.lang.String reasonTextEnglish, java.lang.Throwable ex)
           
 XmlElement generateSoapClientFault(java.lang.String reasonTextEnglish, java.lang.Throwable ex)
           
 XmlElement generateSoapFault(XmlNamespace faultCodeValueNs, java.lang.String faultCodeValueName, java.lang.String reasonTextEnglish, java.lang.Throwable ex)
           
 XmlElement generateSoapServerFault(java.lang.String reasonTextEnglish, java.lang.Throwable ex)
           
static Soap12Util getInstance()
           
 java.lang.String getSoapVersion()
           
 boolean isSoapEnvelopeSupported(XmlElement root)
           
 XmlElement requiredBodyContent(XmlDocument respDoc)
           
 XmlDocument wrapBodyContent(XmlElement bodyContent)
           
 
Methods inherited from class xsul.soap.SoapUtil
selectSoapFragrance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NS_URI_SOAP12

public static final java.lang.String NS_URI_SOAP12
See Also:
Constant Field Values

SOAP12_ENC_PREFIX

public static final java.lang.String SOAP12_ENC_PREFIX
See Also:
Constant Field Values

SOAP12_ENC_NS

public static final XmlNamespace SOAP12_ENC_NS

SOAP12_NS

public static final XmlNamespace SOAP12_NS

URI_SOAP12_NEXT_ROLE

public static final java.lang.String URI_SOAP12_NEXT_ROLE
See Also:
Constant Field Values

URI_SOAP12_NONE_ROLE

public static final java.lang.String URI_SOAP12_NONE_ROLE
See Also:
Constant Field Values

URI_SOAP12_ULTIMATE_ROLE

public static final java.lang.String URI_SOAP12_ULTIMATE_ROLE
See Also:
Constant Field Values

ELEM_ENVELOPE

public static final java.lang.String ELEM_ENVELOPE
See Also:
Constant Field Values

ELEM_HEADER

public static final java.lang.String ELEM_HEADER
See Also:
Constant Field Values

ELEM_BODY

public static final java.lang.String ELEM_BODY
See Also:
Constant Field Values

ATTR_MUST_UNDERSTAND

public static final java.lang.String ATTR_MUST_UNDERSTAND
See Also:
Constant Field Values

ATTR_ACTOR

public static final java.lang.String ATTR_ACTOR
See Also:
Constant Field Values

ATTR_ROLE

public static final java.lang.String ATTR_ROLE
See Also:
Constant Field Values
Method Detail

getInstance

public static Soap12Util getInstance()

getSoapVersion

public java.lang.String getSoapVersion()
Specified by:
getSoapVersion in class SoapUtil

isSoapEnvelopeSupported

public boolean isSoapEnvelopeSupported(XmlElement root)
Specified by:
isSoapEnvelopeSupported in class SoapUtil

wrapBodyContent

public XmlDocument wrapBodyContent(XmlElement bodyContent)
                            throws XsulException
Specified by:
wrapBodyContent in class SoapUtil
Throws:
XsulException

requiredBodyContent

public XmlElement requiredBodyContent(XmlDocument respDoc)
                               throws XsulException
Specified by:
requiredBodyContent in class SoapUtil
Throws:
XsulException

generateSoapFault

public XmlElement generateSoapFault(XmlNamespace faultCodeValueNs,
                                    java.lang.String faultCodeValueName,
                                    java.lang.String reasonTextEnglish,
                                    java.lang.Throwable ex)
                             throws XsulException
Specified by:
generateSoapFault in class SoapUtil
Throws:
XsulException

generateSoapClientFault

public XmlElement generateSoapClientFault(java.lang.String reasonTextEnglish,
                                          java.lang.Throwable ex)
                                   throws XsulException
Specified by:
generateSoapClientFault in class SoapUtil
Throws:
XsulException

generateSoapServerFault

public XmlElement generateSoapServerFault(java.lang.String reasonTextEnglish,
                                          java.lang.Throwable ex)
                                   throws XsulException
Specified by:
generateSoapServerFault in class SoapUtil
Throws:
XsulException

generateSoap12Fault

public XmlElement generateSoap12Fault(XmlNamespace faultCodeValueNs,
                                      java.lang.String faultCodeValueName,
                                      java.lang.String reasonTextEnglish,
                                      java.lang.Throwable ex)

generateSoap12Fault

public XmlElement generateSoap12Fault(XmlNamespace faultCodeValueNs,
                                      java.lang.String faultCodeValueName,
                                      java.lang.String faultSubcodeValueNs,
                                      java.lang.String faultSubcodeValueName,
                                      java.lang.String reasonTextEnglish,
                                      java.lang.Throwable ex)


IU Extreme! Lab (http://www.extreme.indiana.edu)