Interface NotificationCallback
-
- All Known Subinterfaces:
TransportBinding
- All Known Implementing Classes:
ClientTransportBinding,HostedServiceTransportBinding,NotificationSourceUdpCallback
public interface NotificationCallbackCallback for network bindings to initiate an output-only message exchange.- See Also:
- Web Services message exchange patterns
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonNotification(SoapMessage notification)Callback that is triggered after an interceptor chain succeeded on the outgoing direction.
-
-
-
Method Detail
-
onNotification
void onNotification(SoapMessage notification) throws MarshallingException, TransportException
Callback that is triggered after an interceptor chain succeeded on the outgoing direction.As notifications are handled as fire and forget, no faults and answers are accepted.
todo DGr may accept SOAP faults for better error analysis.
- Parameters:
notification- the notification to push.- Throws:
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.
-
-