xsul.soap
Interface SoapEnvelope

All Superinterfaces:
DataValidation

public interface SoapEnvelope
extends DataValidation

SOAP envelope element wrapper - adds handy methods to add headers, validate etc.
NOTE: this interface provides a common abstraction over both SOAP 1.1 and SOAP 1.2 !

Version:
$Revision: 1.2 $
Author:
Aleksander Slominski

Method Summary
 SoapBody getBody()
          If SOAP Body does not exist it will be added
 SoapHeader getHeader()
          Return SOAP Header element if it exsits.
 SoapHeader getOrCreateHeader()
          If SOAP Header does not exist it will be added (as first child of this Envelope)
 SoapEnvelope newEnvelope()
           
 
Methods inherited from interface xsul.DataValidation
validateData
 

Method Detail

newEnvelope

public SoapEnvelope newEnvelope()
                         throws SoapException
Throws:
SoapException

getBody

public SoapBody getBody()
                 throws SoapException
If SOAP Body does not exist it will be added

Throws:
SoapException

getHeader

public SoapHeader getHeader()
                     throws SoapException
Return SOAP Header element if it exsits.

Throws:
SoapException

getOrCreateHeader

public SoapHeader getOrCreateHeader()
                             throws SoapException
If SOAP Header does not exist it will be added (as first child of this Envelope)

Throws:
SoapException


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