Interface ISoapRequest
- All Known Implementing Classes:
SoapRequestXml
public interface ISoapRequest
This object is responsible for soap request creation used by the ISoapConnection.
- Since:
- 9.0
- Author:
- Jon van Leuven
-
Method Summary
Modifier and TypeMethodDescriptionThis method should return the soap action.This method should return the SOAP version of the request.void
writeBody
(OutputStream stream) This method is called when writing the soap message.
-
Method Details
-
writeBody
This method is called when writing the soap message.- Parameters:
stream
- The stream to write the data to that should be transferred.- Throws:
IOException
- Is thrown when stream writing failed.
-
getAction
String getAction()This method should return the soap action.- Returns:
- The soap action, may be null.
-
getSoapVersion
SoapVersion getSoapVersion()This method should return the SOAP version of the request. The underlying transport will use this information to add transport-specific headers (eg. HTTP will add specific Content-Type and SOAPAction headers).- Returns:
- the version of this SOAP request, should not return
null
-