Thursday, June 17, 2010

Disabling WS Addressing in BPEL

Background and Problem
In BPEL, the WS Addressing seems to be enabled by default. The external Web Service that is invoked from BPEL Service receives the WS Addressing and first verifies the end point. For some reason this end point that was generated by BPEL is incorrect and so throws an error. The only way the communication can be successful is to disable the WS Addressing.

Solution
In SOA 11.1.1.3, this can be achieved by adding a binding property in the BPEL.

  • Select the WebService and you will see the Property Inspector.
  • Add the Property "oracle.soa.ws.outbound.omitWSA" and set it to true. As of this version this property is not available in the dropdown. So you need to add this.
  • Save it and deploy the new Service to test it out.
  • The Steps are shown below as an image

3 comments:

  1. Chandu,

    Awesome post!!! We were just working on this problem. I have a patch for 11.1.1.2.0 that also does this. Patch # 9111078. But I just noticed a typo: property name should be "oracle.soa.ws.outbound.omitWSA" not "...SOA".


    Thanks!
    -Alex

    ReplyDelete
  2. Glad that it was helpful for you. Thanks for pointing the typo. It is corrected now.

    ReplyDelete
  3. Hi Chandu,
    Do you have any document which details the significance of WS-addressing and how to make use of it?
    If yes, can you please send it at contactritika@gmail.com?
    Waiting for your reply.
    Regards,
    Ritika

    ReplyDelete