public interface WebServiceMessageFactory
WebServiceMessageFactory serves as a factory for WebServiceMessages.
Allows the creation of empty messages, or messages based on InputStreams.
WebServiceMessage| Modifier and Type | Method and Description |
|---|---|
WebServiceMessage |
createWebServiceMessage()
Creates a new, empty
WebServiceMessage. |
WebServiceMessage |
createWebServiceMessage(InputStream inputStream)
Reads a
WebServiceMessage from the given input stream. |
WebServiceMessage createWebServiceMessage()
WebServiceMessage.WebServiceMessage createWebServiceMessage(InputStream inputStream) throws InvalidXmlException, IOException
WebServiceMessage from the given input stream.
If the given stream is an instance of TransportInputStream, the headers will be read from the request.
inputStream - the input stream to read the message fromInvalidXmlException - if the XML read from the input stream is invalidIOException - if an I/O exception occurs