public interface SoapClient
| Modifier and Type | Method and Description |
|---|---|
SoapResponse |
consume(SoapRequest request,
TransportDispatcher dispatcher)
Sends a
SoapRequest blocking the current thread until a response is available or the request times out. |
void |
destroy()
Shuts down the client and all resources that is holding.
|
default SoapResponse |
parseResponse(String operation,
TransportResponse response)
Generates a
SoapResponse from a TransportResponse |
SoapResponse consume(SoapRequest request, TransportDispatcher dispatcher) throws BadRequestException, BadResponseException
SoapRequest blocking the current thread until a response is available or the request times out.request - a SoapRequest instance.dispatcher - a TransportDispatcher that will be used to dispatch the SoapRequestSoapResponse instance with the XML content and Headers if any.BadRequestExceptionBadResponseExceptiondefault SoapResponse parseResponse(String operation, TransportResponse response) throws BadResponseException
SoapResponse from a TransportResponseoperation - The name of the operation related to the responseresponse - a TransportResponse instanceSoapResponse instance with the XML content and Headers if any.BadResponseExceptionvoid destroy()
Copyright © 2020. All rights reserved.