Package org.somda.sdc.dpws.service
Class HostedServiceTransportBinding
-
- All Implemented Interfaces:
-
java.io.Closeable,java.lang.AutoCloseable,org.somda.sdc.dpws.TransportBinding,org.somda.sdc.dpws.soap.interception.NotificationCallback,org.somda.sdc.dpws.soap.interception.RequestResponseCallback
public class HostedServiceTransportBinding implements TransportBinding
Static transport binding for hosted services.
-
-
Method Summary
Modifier and Type Method Description voidclose()voidonNotification(SoapMessage notification)Callback that is triggered after an interceptor chain succeeded on the outgoing direction. SoapMessageonRequestResponse(SoapMessage request)Callback that is triggered after an interceptor chain succeeded on the outgoing direction. -
-
Method Detail
-
close
void close()
-
onNotification
void onNotification(SoapMessage notification)
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.
-
onRequestResponse
SoapMessage onRequestResponse(SoapMessage request)
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.
-
-
-
-