2 Replies Latest reply on Sep 30, 2011 4:09 PM by jpoole

    Modifing SOAP messages going to Riftsaw invoked web services

    jpoole

      Hi,

           I am trying to take a ws-security token from an incoming message of a bpel process instance and pass it to an invoked web service.  I am using riftsaw inside of jboss AS 5.1.  I see how to add a handler to parse the incoming message, but I am stuck on adding the header to the SOAP message going to the invoked service.  It looks this would be possiable using the CXF web stack through handlers.  If I have to use the native web stack, does anyone know of an alternative mechanism to get access to the SOAP messages going out to the invoked web services - maybe some sort of internal interceptor?

                Thanks,

                Joe

        • 1. Re: Modifing SOAP messages going to Riftsaw invoked web services
          objectiser

          Hi

           

          It may be better to ask the jbossws-native question on the jbossws forum.

           

          Another solution could be to use the SOAP header mapping to WSDL message part approach used in the riftsaw quickstart 'hello_world_header_wsdl' to make the value visible to the BPEL process and then copy it to the outbound message using a similarly mapped header property.

           

          Regards

          Gary

          1 of 1 people found this helpful
          • 2. Re: Modifing SOAP messages going to Riftsaw invoked web services
            jpoole

            Thanks - this was a successfully workaround.  It is not as transparent as handlers would be since I have to add "code" to the bpel orchestration file to perform the copy and both the orchestration process and clients have to expose a header field in their wsdl - but this works until a future upgrade when I can switch to the Apache web service stack.

                      Thanks again,

                      Joe