public interface MessageFactory
WebServiceMessageFactory serves as a factory for WebServiceMessages.
Allows the creation of empty messages, or messages based on InputStreams.
Copy of from Spring WS WebServiceMessageFactory. We do not want to be dependent on Spring WS here, in common library.
WebServiceMessage| Modifier and Type | Method and Description |
|---|---|
Message |
createWebServiceMessage()
Creates a new, empty
WebServiceMessage. |
Message |
createWebServiceMessage(InputStream inputStream)
Reads a
WebServiceMessage from the given input stream. |
Message createWebServiceMessage()
WebServiceMessage.Message createWebServiceMessage(InputStream inputStream) throws 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 inputstream to read the message fromIOException - if an I/O exception occursCopyright © 2017. All Rights Reserved.