java.lang.Object
com.aquima.interactions.foundation.connectivity.impl.SoapRequestXml
All Implemented Interfaces:
ISoapRequest

public class SoapRequestXml extends Object implements ISoapRequest
Soap request implementation that can be constructed with IXmlElement elements.
Since:
9.0
Author:
Jon van Leuven
  • Constructor Details

  • Method Details

    • writeBody

      public void writeBody(OutputStream stream) throws IOException
      Description copied from interface: ISoapRequest
      This method is called when writing the soap message.
      Specified by:
      writeBody in interface ISoapRequest
      Parameters:
      stream - The stream to write the data to that should be transferred.
      Throws:
      IOException - Is thrown when stream writing failed.
    • getAction

      public String getAction()
      Description copied from interface: ISoapRequest
      This method should return the soap action.
      Specified by:
      getAction in interface ISoapRequest
      Returns:
      The soap action, may be null.
    • getSoapVersion

      public SoapVersion 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 interface ISoapRequest
      Returns:
      the version of this SOAP request, should not return null
    • getXml

      public IXmlElement getXml()