xsul.soap
Class SoapFactory

java.lang.Object
  extended byxsul.soap.SoapFactory

public abstract class SoapFactory
extends java.lang.Object

Entry point that can be used to uniformaly work with any version of SOAP.

Version:
$Revision: 1.4 $
Author:
Aleksander Slominski

Constructor Summary
SoapFactory()
           
 
Method Summary
abstract  SoapFault generateSoapClientFault(java.lang.String reasonTextEnglish, java.lang.Throwable ex)
           
abstract  SoapFault generateSoapFault(XmlNamespace faultCodeValueNs, java.lang.String faultCodeValueName, java.lang.String reasonTextEnglish, java.lang.Throwable ex)
           
static SoapEnvelope getSoapEnvelope(XmlElement rootEl)
           
abstract  XmlElement requiredBodyContent(SoapEnvelope respDoc)
           
abstract  SoapDocument wrapBodyContent(XmlElement bodyContent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapFactory

public SoapFactory()
Method Detail

wrapBodyContent

public abstract SoapDocument wrapBodyContent(XmlElement bodyContent)
                                      throws SoapException,
                                             XsulException
Throws:
SoapException
XsulException

getSoapEnvelope

public static SoapEnvelope getSoapEnvelope(XmlElement rootEl)
                                    throws XsulException
Throws:
XsulException

generateSoapFault

public abstract SoapFault generateSoapFault(XmlNamespace faultCodeValueNs,
                                            java.lang.String faultCodeValueName,
                                            java.lang.String reasonTextEnglish,
                                            java.lang.Throwable ex)

generateSoapClientFault

public abstract SoapFault generateSoapClientFault(java.lang.String reasonTextEnglish,
                                                  java.lang.Throwable ex)

requiredBodyContent

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


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