cgl.narada.wsinfra.util
Class SoapEnvelopeConversion

java.lang.Object
  extended by cgl.narada.wsinfra.util.SoapEnvelopeConversion

public class SoapEnvelopeConversion
extends Object

This is a utility class which performs conversions between SOAPMessage and Envelope document. This class is typically used in scenarios where such conversions are necessary.


Method Summary
 EnvelopeDocument getEnvelopeDocument(SOAPMessage soapMessage)
          This method converts a SOAPMessage into an Envelope Document.
static SoapEnvelopeConversion getInstance()
           
 SOAPMessage getSOAPMessage(EnvelopeDocument envelopeDocument)
          This method converts an EnvelopeDocument into a javax.xml.SOAPMessage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SoapEnvelopeConversion getInstance()

getSOAPMessage

public SOAPMessage getSOAPMessage(EnvelopeDocument envelopeDocument)
                           throws ProcessingException
This method converts an EnvelopeDocument into a javax.xml.SOAPMessage.

Throws:
ProcessingException

getEnvelopeDocument

public EnvelopeDocument getEnvelopeDocument(SOAPMessage soapMessage)
                                     throws ProcessingException
This method converts a SOAPMessage into an Envelope Document.

Throws:
ProcessingException


For comments and suggestions please send e-mail to The NaradaBrokering Project