Package org.springframework.ws.soap
Interface SoapMessageFactory
- All Superinterfaces:
- WebServiceMessageFactory
- All Known Implementing Classes:
- SaajSoapMessageFactory
Sub-interface of 
WebServiceMessageFactory which contains SOAP-specific properties and methods.
 
 The soapVersion property can be used to indicate the SOAP version of the factory. By default, the version is
 SoapVersion.SOAP_11.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
- 
Method SummaryModifier and TypeMethodDescriptionCreates a new, emptySoapMessage.createWebServiceMessage(InputStream inputStream) Reads aSoapMessagefrom the given input stream.voidsetSoapVersion(SoapVersion version) Sets the SOAP Version used by this factory.
- 
Method Details- 
setSoapVersionSets the SOAP Version used by this factory.- Parameters:
- version- the version constant
- See Also:
 
- 
createWebServiceMessageSoapMessage createWebServiceMessage()Creates a new, emptySoapMessage.- Specified by:
- createWebServiceMessagein interface- WebServiceMessageFactory
- Returns:
- the empty message
 
- 
createWebServiceMessageReads aSoapMessagefrom the given input stream.If the given stream is an instance of TransportInputStream, the headers will be read from the request.- Specified by:
- createWebServiceMessagein interface- WebServiceMessageFactory
- Parameters:
- inputStream- the input stream to read the message from
- Returns:
- the created message
- Throws:
- IOException- if an I/O exception occurs
 
 
-