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. |
default String |
createSequence(CreateSequenceRequest request,
TransportDispatcher dispatcher)
Creates a Reliable Message sequence
|
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 |
default void |
terminateSequence(TerminateSequenceRequest request,
TransportDispatcher dispatcher)
Terminates a Reliable Message sequence
|
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()
default String createSequence(CreateSequenceRequest request, TransportDispatcher dispatcher)
request - a CreateSequenceRequest instance.dispatcher - a TransportDispatcher that will be used to dispatch the RM protocol messageString representing a reliable message sequence identifierdefault void terminateSequence(TerminateSequenceRequest request, TransportDispatcher dispatcher)
request - a TerminateSequenceRequest instance.dispatcher - a TransportDispatcher that will be used to dispatch the RM protocol messageCopyright © 2024. All rights reserved.