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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void close()
      void onNotification(SoapMessage notification) Callback that is triggered after an interceptor chain succeeded on the outgoing direction.
      SoapMessage onRequestResponse(SoapMessage request) Callback that is triggered after an interceptor chain succeeded on the outgoing direction.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • 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.