Interface ISoapConnection
- All Superinterfaces:
IConnection
- All Known Implementing Classes:
AbstractSoapClient
,HttpSoapConnection
This interface describes how to connect to a SOAP end point.
- Since:
- 6.3
- Author:
- Jon van Leuven
-
Method Summary
Modifier and TypeMethodDescriptiongetUrl()
This method returns the url used for connecting to the endpoint.void
invoke
(ISoapRequest request, ISoapResponseHandler responseHandler) Send an XML request to a SOAP endpoint by providing the header and body elements.Methods inherited from interface com.aquima.interactions.foundation.connectivity.IConnection
getName, getType
-
Method Details
-
getUrl
String getUrl()This method returns the url used for connecting to the endpoint.- Returns:
- The url
-
invoke
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.- Parameters:
request
- The soap request responsible for creating the request, may not be null.responseHandler
- The handler that is used when the connection handles the response.- Throws:
IOException
- When an error occurs connecting to SOAP endpoint.
-