Package org.somda.sdc.dpws.soap
Interface SoapMarshalling
-
- All Implemented Interfaces:
-
com.google.common.util.concurrent.Service
public interface SoapMarshalling implements ServiceJAXB SOAP marshalling service.
-
-
Method Summary
Modifier and Type Method Description abstract voidmarshal(Envelope envelope, OutputStream outputStream)Marshals a SOAP message. abstract Envelopeunmarshal(InputStream inputStream)Unmarshals a SOAP message. abstract Envelopeunmarshal(Reader reader)Unmarshals a SOAP message. -
Methods inherited from class com.google.common.util.concurrent.Service
addListener, awaitRunning, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
marshal
abstract void marshal(Envelope envelope, OutputStream outputStream)
Marshals a SOAP message.
- Parameters:
envelope- The envelope of the SOAP message.outputStream- The output stream where to write marshalled data to.
-
unmarshal
abstract Envelope unmarshal(InputStream inputStream)
Unmarshals a SOAP message.
- Parameters:
inputStream- the input message to unmarshal a SOAP message from.- Returns:
the unmarshalled SOAP envelope.
-
-
-
-