Class AbstractSoapClient
java.lang.Object
com.aquima.interactions.foundation.connectivity.impl.AbstractSoapClient
- All Implemented Interfaces:
IConnection
,ISoapConnection
- Direct Known Subclasses:
HttpSoapConnection
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
This method returns the name of the connection object.getType()
This method returns the type of the connection object.abstract void
invoke
(ISoapRequest request, ISoapResponseHandler handler) Send an XML request to a SOAP endpoint by providing the header and body elements.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.connectivity.ISoapConnection
getUrl
-
Constructor Details
-
AbstractSoapClient
-
-
Method Details
-
invoke
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 interfaceISoapConnection
- 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
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 interfaceIConnection
- Returns:
- the name of the connection object.
-
getType
Description copied from interface:IConnection
This method returns the type of the connection object.- Specified by:
getType
in interfaceIConnection
- Returns:
- the type of the connection object.
-