Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-154

Missing WS-Addressing "MessageID" header when invoking a WSA compliant external services

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.1
    • Axis2 Integration
    • None
    • JDK 1.5.0_11
      Axis2 Distribution
      WinXP x64

    Description

      When I try to invoke an external service that implements WS-Addressing, I get an error returned saying "A required header representing a Message Addressing Property is not present." The header it is referring to is "wsa:MessageID". Ode properly sends the wsa:To and wsa:Action headers, but apparently not the MessageID. The missing header was confirmed using TCPMon

      It is possible that a MessageID is properly inserted when using BPEL Correlation IDs or something along those lines, in other words this may be a user error. But I could not find any mention of it in Ode documentation. Nor could I find the the proper method call to Options.setMessageId() in the source code while setting up the outgoing message.

      The issue appears to be somewhere in the area of org.apache.ode.axis2.ExternalService.invoke(). I believe we should be calling options.setMessageId() somewhere in there.

      I'm not sure if this affects the JBI distribution as well.

      Attachments

        1. wsa.patch
          10 kB
          Richard Taylor

        Activity

          People

            mriou Matthieu Riou
            richt Richard Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: