3 Replies Latest reply on Dec 16, 2014 12:32 PM by Chris Evans

    Calling asynchronous services from bpel scripts

    Chris Evans Newbie

      Hi, we're trying to use Switchyard to call an external asynchronous web service (i.e a one-way service call with a matching callback) using ws-addressing to pass the return callback endpoint but we're hitting problems.  What we're finding is that the ReplyTo ws-addressing header we're sending does not have a return Address field populated properly, it comes through as the None URI:

      <ReplyTo xmlns="http://www.w3.org/2005/08/addressing"><Address>http://www.w3.org/2005/08/addressing/none</Address></ReplyTo>

       

      We’re struggling to see how to configure Switchyard to populate this with a valid callback endpoint that will trigger the callback receive activity in the BPEL script.  There doesn't seem to be any examples of calling async services from a BPEL script within Switchyard so I was wondering

      1. whether this is supported?
      2. Does anyone have any advice as to what needs to be configured to set up the callback endpoint and populate the ws-addressing header.

       

      Thanks

      Chris Evans