|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SoapMessageFactory
Sub-interface of WebServiceMessageFactory
which contains SOAP-specific properties and methods.
soapVersion
property can be used to indicate the SOAP version of the factory. By default, the
version is SoapVersion.SOAP_11
.
Method Summary | |
---|---|
SoapMessage |
createWebServiceMessage()
Creates a new, empty SoapMessage . |
SoapMessage |
createWebServiceMessage(InputStream inputStream)
Reads a SoapMessage from the given input stream. |
void |
setSoapVersion(SoapVersion version)
Sets the SOAP Version used by this factory. |
Method Detail |
---|
void setSoapVersion(SoapVersion version)
version
- the version constantSoapVersion.SOAP_11
,
SoapVersion.SOAP_12
SoapMessage createWebServiceMessage()
SoapMessage
.
createWebServiceMessage
in interface WebServiceMessageFactory
SoapMessage createWebServiceMessage(InputStream inputStream) throws IOException
SoapMessage
from the given input stream.
If the given stream is an instance of TransportInputStream
, the headers will be read from the request.
createWebServiceMessage
in interface WebServiceMessageFactory
inputStream
- the input stream to read the message from
IOException
- if an I/O exception occurs
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |