Interface SoapMessageFactory
- All Superinterfaces:
 WebServiceMessageFactory
- All Known Implementing Classes:
 AxiomSoapMessageFactory, 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
 
- 
Method Summary
Modifier 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
- 
setSoapVersion
Sets the SOAP Version used by this factory.- Parameters:
 version- the version constant- See Also:
 
 - 
createWebServiceMessage
SoapMessage createWebServiceMessage()Creates a new, emptySoapMessage.- Specified by:
 createWebServiceMessagein interfaceWebServiceMessageFactory- Returns:
 - the empty message
 
 - 
createWebServiceMessage
Reads 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 interfaceWebServiceMessageFactory- Parameters:
 inputStream- the input stream to read the message from- Returns:
 - the created message
 - Throws:
 IOException- if an I/O exception occurs
 
 -