Interface RequestResponseCallback
-
- All Known Subinterfaces:
TransportBinding
- All Known Implementing Classes:
ClientTransportBinding,HostedServiceTransportBinding
public interface RequestResponseCallbackCallback for network bindings to initiate a input-output message exchange.- See Also:
- Web Services message exchange patterns
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SoapMessageonRequestResponse(SoapMessage request)Callback that is triggered after an interceptor chain succeeded on the outgoing direction.
-
-
-
Method Detail
-
onRequestResponse
SoapMessage onRequestResponse(SoapMessage request) throws SoapFaultException, MarshallingException, TransportException
Callback that is triggered after an interceptor chain succeeded on the outgoing direction.- Parameters:
request- the request to convey to the message receiver.- Returns:
- a SOAP message with the received response from the network.
- Throws:
SoapFaultException- in case the server answers with a SOAP fault.TransportException- if any transport-related exception comes up during processing. This will hinder the response from being received.MarshallingException- if an error occurs during marshalling or unmarshalling of a SOAP message.
-
-