Package org.somda.sdc.dpws.soap
Class MarshallingService
-
- All Implemented Interfaces:
public class MarshallingServiceUtility class to marshal/unmarshal SOAP messages.
-
-
Method Summary
Modifier and Type Method Description voidmarshal(SoapMessage msg, OutputStream os)Marshals a SOAP message. SoapMessageunmarshal(InputStream is)Unmarshals a SOAP message from an input stream. SoapMessageunmarshal(Reader reader)Unmarshals a SOAP message from a reader. -
-
Method Detail
-
marshal
void marshal(SoapMessage msg, OutputStream os)
Marshals a SOAP message.
- Parameters:
msg- the message to marshal.os- the output stream where to write the XML message to.
-
unmarshal
SoapMessage unmarshal(InputStream is)
Unmarshals a SOAP message from an input stream.
- Parameters:
is- the input stream where to unmarshal from.- Returns:
the unmarshalled object.
-
unmarshal
SoapMessage unmarshal(Reader reader)
Unmarshals a SOAP message from a reader.
- Parameters:
reader- the input stream where to unmarshal from.- Returns:
the unmarshalled object.
-
-
-
-