xsul.soap
Class SoapUtil

java.lang.Object
  extended byxsul.soap.SoapUtil
Direct Known Subclasses:
Soap11Util, Soap12Util

public abstract class SoapUtil
extends java.lang.Object

Set of typical SOAP operations on XML Infoset regardless of SOAP version.

Version:
$Revision: 1.4 $
Author:
Aleksander Slominski

Constructor Summary
SoapUtil()
           
 
Method Summary
abstract  XmlElement generateSoapClientFault(java.lang.String reasonTextEnglish, java.lang.Throwable ex)
           
abstract  XmlElement generateSoapFault(XmlNamespace faultCodeValueNs, java.lang.String faultCodeValueName, java.lang.String reasonTextEnglish, java.lang.Throwable ex)
           
abstract  XmlElement generateSoapServerFault(java.lang.String reasonTextEnglish, java.lang.Throwable ex)
           
abstract  java.lang.String getSoapVersion()
           
abstract  boolean isSoapEnvelopeSupported(XmlElement root)
           
abstract  XmlElement requiredBodyContent(XmlDocument respDoc)
           
static SoapUtil selectSoapFragrance(XmlContainer xmlContainer, SoapUtil[] soapFragrances)
           
abstract  XmlDocument wrapBodyContent(XmlElement bodyContent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapUtil

public SoapUtil()
Method Detail

selectSoapFragrance

public static SoapUtil selectSoapFragrance(XmlContainer xmlContainer,
                                           SoapUtil[] soapFragrances)
                                    throws UnsupportedSoapVersion
Throws:
UnsupportedSoapVersion

generateSoapFault

public abstract XmlElement generateSoapFault(XmlNamespace faultCodeValueNs,
                                             java.lang.String faultCodeValueName,
                                             java.lang.String reasonTextEnglish,
                                             java.lang.Throwable ex)
                                      throws XsulException
Throws:
XsulException

generateSoapClientFault

public abstract XmlElement generateSoapClientFault(java.lang.String reasonTextEnglish,
                                                   java.lang.Throwable ex)
                                            throws XsulException
Throws:
XsulException

generateSoapServerFault

public abstract XmlElement generateSoapServerFault(java.lang.String reasonTextEnglish,
                                                   java.lang.Throwable ex)
                                            throws XsulException
Throws:
XsulException

getSoapVersion

public abstract java.lang.String getSoapVersion()

isSoapEnvelopeSupported

public abstract boolean isSoapEnvelopeSupported(XmlElement root)

requiredBodyContent

public abstract XmlElement requiredBodyContent(XmlDocument respDoc)
                                        throws XsulException
Throws:
XsulException

wrapBodyContent

public abstract XmlDocument wrapBodyContent(XmlElement bodyContent)
                                     throws XsulException
Throws:
XsulException


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