Package org.somda.sdc.dpws.soap
Class RequestResponseClientImpl
-
- All Implemented Interfaces:
-
org.somda.sdc.dpws.soap.RequestResponseClient,org.somda.sdc.dpws.soap.interception.InterceptorHandler
public class RequestResponseClientImpl implements RequestResponseClient
Default implementation of RequestResponseClient.
-
-
Method Summary
Modifier and Type Method Description voidregister(Interceptor interceptor)Registers a callback object. SoapMessagesendRequestResponse(SoapMessage request)Sends a SOAP request message and waits for the response to be received from the recipient. -
-
Method Detail
-
register
void register(Interceptor interceptor)
Registers a callback object.
- Parameters:
interceptor- an object that possesses MessageInterceptor annotated methods.
-
sendRequestResponse
SoapMessage sendRequestResponse(SoapMessage request)
Sends a SOAP request message and waits for the response to be received from the recipient.
- Parameters:
request- outgoing request message.- Returns:
incoming response message.
-
-
-
-