xsul.soap11_util
Class Soap11Util

java.lang.Object
  extended byxsul.soap.SoapUtil
      extended byxsul.soap11_util.Soap11Util

public class Soap11Util
extends SoapUtil

SOAP 1.1 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_SOAP11
           
static XmlNamespace SOAP11_ENC_NS
           
static java.lang.String SOAP11_ENC_PREFIX
           
static java.lang.String SOAP11_NEXT_ACTOR
           
static XmlNamespace SOAP11_NS
           
 
Method Summary
 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 Soap11Util 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

SOAP11_ENC_PREFIX

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

NS_URI_SOAP11

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

SOAP11_NEXT_ACTOR

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

SOAP11_NS

public static final XmlNamespace SOAP11_NS

SOAP11_ENC_NS

public static final XmlNamespace SOAP11_ENC_NS

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 Soap11Util 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

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

requiredBodyContent

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


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