Class AbstractSoapClient

java.lang.Object
com.aquima.interactions.foundation.connectivity.impl.AbstractSoapClient
All Implemented Interfaces:
IConnection, ISoapConnection
Direct Known Subclasses:
HttpSoapConnection

public abstract class AbstractSoapClient extends Object implements ISoapConnection
Abstract base class for a soap client that uses xml element to connect to a Soap webservice.
Since:
8.1
Author:
Jon van Leuven
  • Constructor Details

    • AbstractSoapClient

      protected AbstractSoapClient(String name)
  • Method Details

    • invoke

      public abstract void invoke(ISoapRequest request, ISoapResponseHandler handler) throws IOException
      Description copied from interface: ISoapConnection
      Send an XML request to a SOAP endpoint by providing the header and body elements. This method will create a soap 1.1 envelope with the provided elements and sends it to the soap endpoint.
      Specified by:
      invoke in interface ISoapConnection
      Parameters:
      request - The soap request responsible for creating the request, may not be null.
      handler - The handler that is used when the connection handles the response.
      Throws:
      IOException - When an error occurs connecting to SOAP endpoint.
    • getName

      public String getName()
      Description copied from interface: IConnection
      This method returns the name of the connection object. The name is used to uniquely identify the connection object.
      Specified by:
      getName in interface IConnection
      Returns:
      the name of the connection object.
    • getType

      public ConnectionType getType()
      Description copied from interface: IConnection
      This method returns the type of the connection object.
      Specified by:
      getType in interface IConnection
      Returns:
      the type of the connection object.