cgl.narada.wsinfra.util
Class SoapMarshaller

java.lang.Object
  extended bycgl.narada.wsinfra.util.SoapMarshaller

public class SoapMarshaller
extends Object

This is a utility class to marshall and un-marshall SOAP messages.


Constructor Summary
SoapMarshaller()
           
 
Method Summary
static byte[] marshallSoapMessage(SOAPMessage soapMessage)
          This method converts a SOAPMessage into a stream of bytes
static SOAPMessage unmarshallSoapMessage(byte[] marshalledBytes)
          This method unmarshals a SOAPMessage from a stream of bytes
static SOAPMessage unmarshallSoapMessage(InputStream in)
          This method unmarshalls a SOAPMessage from the specified InputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapMarshaller

public SoapMarshaller()
Method Detail

marshallSoapMessage

public static byte[] marshallSoapMessage(SOAPMessage soapMessage)
                                  throws Exception
This method converts a SOAPMessage into a stream of bytes

Throws:
Exception

unmarshallSoapMessage

public static SOAPMessage unmarshallSoapMessage(byte[] marshalledBytes)
                                         throws Exception
This method unmarshals a SOAPMessage from a stream of bytes

Throws:
Exception

unmarshallSoapMessage

public static SOAPMessage unmarshallSoapMessage(InputStream in)
                                         throws Exception
This method unmarshalls a SOAPMessage from the specified InputStream

Throws:
Exception


ND OF BOTTOM NAVBAR ======= -->