Interface RequestResponseCallback

All Known Subinterfaces:
TransportBinding
All Known Implementing Classes:
ClientTransportBinding, HostedServiceTransportBinding

public interface RequestResponseCallback
Callback for network bindings to initiate a input-output message exchange.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Callback that is triggered after an interceptor chain succeeded on the outgoing direction.
  • Method Details

    • onRequestResponse

      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.