5 Replies Latest reply on Dec 2, 2012 9:22 AM by adu

    WS-Notification: Issue upon ESB Notification

    hailpam_pmaresca

      Hi all,

       

      I'm using WS-Notification implementation provided by Fuse ESB v4.4.1 and I'm experiencing (my client side) a major issue upon notifications coming from ESB: Fuse notifies my client with a pure XML instead of a SOAP Envelope. Hereafter I provide you an example:

       

      1. SUBSCRIPTION

       

       

      As you can see, proxy side I receive a pure XML string instead of the expected SOAP Envelope. This evenience produce a failure client-side, in fact JAX-WS interceptor is unable to recognize the received string as a message and throws an exception before of calling any handling hook.

       

      Could someone help me to understand why Fuse ESB acts as above described? Please, could someone help me to solve this issue?

       

      Thanks in advance,

       

      P

       

      Edited by: hailpam on Jan 24, 2012 4:11 PM

        • 1. Re: WS-Notification: Issue upon ESB Notification
          hailpam_pmaresca

          Up!

           

          I kindly ask to technical support to verify this issue, since according to my opinion that is a bug in WS-N implementation provided by Fuse ESB.

           

          Thanks in advance for replies that I hope shall arrive,

           

          P

          • 2. Re: WS-Notification: Issue upon ESB Notification
            davsclaus

            If you are a FuseSource subscriber then I suggest to use that channel to get help faster.

            • 3. Re: WS-Notification: Issue upon ESB Notification
              hailpam_pmaresca

              Hi Claus,

               

              I don't have a support yet because I'm evaluating (with my team) the capabilities offered by Fuse ESB.

              Unfortunately, for the proof of the concept I'm developing (system of systems realization) I need WS-Notification, in particular we're interested in using of the notifications push capability (client asynchronous notifications). We hope to receive help, since we're very interested in Fuse ESB and we want to understand the real opportunities that it may offer us supporting our activities.

               

              Anyway, I hope to receive help. Cheers,

               

              P

              • 4. Re: WS-Notification: Issue upon ESB Notification
                adu

                Hi,

                 

                I am also evaluating the wsn implementation in servicemix 4.4.1 but could not get it working. I tired the following:

                1. Loaded the wsn.xml available in example/simple folder to the deploy folder. THsi sets up teh http binding.

                2. Tried executing the client.html file but only got a status ok message but no messages in the 'getmessages' operation.

                 

                Do I have to do anything more besides deploying the wsn.xml file. Any advice, suggestions on how you managed to get notification will be helpful.

                • 5. Re: WS-Notification: Issue upon ESB Notification
                  adu

                  hi,

                   

                  I managed to get it working using a WS-Client instead of the client.xml provided. I am able to send a subscribe request and a notification to the broker. I have a web service that receives notifications but it receives the notification without the Soap Header just as explained in this chain. Is there a solution for the problem?

                  I added one endpoint in the wsn.xml file provided for a role as 'Provider' but there is no difference. The soap attribute is set to 'true' but still it sends the notification without the Soap headers.

                   

                  <http:endpoint service="wsn:NotificationBroker"

                                   endpoint="http-binding"

                                   targetService="wsn:NotificationBroker"

                                   targetEndpoint="Broker"

                                   role="consumer"

                                   locationURI="$/Broker/"                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"                  soap="true"/> <http:endpoint service="wsn:NotificationBroker"                  endpoint="http-binding"                  targetService="wsn:NotificationBroker"                  targetEndpoint="Broker"                  role="provider"                  locationURI="$/Broker/"

                                   defaultMep="http://www.w3.org/2004/08/wsdl/in-out"

                                   soap="true"/>

                   

                   

                    <http:endpoint service="wsn:CreatePullPoint"

                                   endpoint="http-binding2"

                                   targetService="wsn:CreatePullPoint"

                                   targetEndpoint="Broker"

                                   role="consumer"

                                   locationURI="$/CreatePullPoint/"

                                   defaultMep="http://www.w3.org/2004/08/wsdl/in-out"

                                   soap="true"/>