Class SoapRequestXml
java.lang.Object
com.aquima.interactions.foundation.connectivity.impl.SoapRequestXml
- All Implemented Interfaces:
ISoapRequest
Soap request implementation that can be constructed with IXmlElement elements.
- Since:
- 9.0
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsConstructorDescriptionSoapRequestXml
(IXmlElement[] soapHeaderElements, IXmlElement[] soapBodyElements, String action) SoapRequestXml
(IXmlElement soapEnvelope, String action) -
Method Summary
Modifier and TypeMethodDescriptionThis method should return the soap action.This method should return the SOAP version of the request.getXml()
void
writeBody
(OutputStream stream) This method is called when writing the soap message.
-
Constructor Details
-
SoapRequestXml
public SoapRequestXml(IXmlElement[] soapHeaderElements, IXmlElement[] soapBodyElements, String action) -
SoapRequestXml
-
-
Method Details
-
writeBody
Description copied from interface:ISoapRequest
This method is called when writing the soap message.- Specified by:
writeBody
in interfaceISoapRequest
- Parameters:
stream
- The stream to write the data to that should be transferred.- Throws:
IOException
- Is thrown when stream writing failed.
-
getAction
Description copied from interface:ISoapRequest
This method should return the soap action.- Specified by:
getAction
in interfaceISoapRequest
- Returns:
- The soap action, may be null.
-
getSoapVersion
Description copied from interface:ISoapRequest
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).- Specified by:
getSoapVersion
in interfaceISoapRequest
- Returns:
- the version of this SOAP request, should not return
null
-
getXml
-