Package org.somda.sdc.dpws.soap
Interface RequestResponseClient
-
- All Superinterfaces:
InterceptorHandler
- All Known Subinterfaces:
HostedServiceProxy,HostingServiceProxy
- All Known Implementing Classes:
HostedServiceProxyImpl,HostingServiceProxyImpl,RequestResponseClientImpl
public interface RequestResponseClient extends InterceptorHandler
Interface for client APIs to conduct request-response message exchanges.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SoapMessagesendRequestResponse(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 Detail
-
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.
-
-