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.
|
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.BadRequestExceptionBadResponseExceptionvoid destroy()
Copyright © 2019. All rights reserved.