Package org.somda.sdc.dpws.soap
Interface RequestResponseClient
- All Superinterfaces:
InterceptorHandler
- All Known Subinterfaces:
HostedServiceProxy,HostingServiceProxy
- All Known Implementing Classes:
HostedServiceProxyImpl,HostingServiceProxyImpl,RequestResponseClientImpl
Interface for client APIs to conduct request-response message exchanges.
-
Method Summary
Modifier and TypeMethodDescriptionsendRequestResponse(SoapMessage request) Sends a SOAP request message and waits for the response to be received from the recipient.Methods inherited from interface org.somda.sdc.dpws.soap.interception.InterceptorHandler
register
-
Method Details
-
sendRequestResponse
SoapMessage sendRequestResponse(SoapMessage request) throws SoapFaultException, MarshallingException, TransportException, InterceptorException 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.
- Throws:
SoapFaultException- if a SOAP fault comes up during processing.TransportException- if transport-related exceptions come up during processing. This will hinder the response from being sent.MarshallingException- if any exception occurs during marshalling or unmarshalling of SOAP messages.InterceptorException- if one of the interceptors pops up with an error.
-