Class MarshallingService

  • All Implemented Interfaces:

    
    public class MarshallingService
    
                        

    Utility class to marshal/unmarshal SOAP messages.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • 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.