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

Attribute of a xml element is missing after an <assign/> a value for that xml element

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.5, 1.4
    • 1.3.6, 1.4
    • BPEL Runtime
    • ode-axis2-war-1.4-SNAPSHOT

    Description

      How to reproduce the issue:
      1. Deploy the attached testXPathAttribute.zip
      2. Invoke it with

      <body>
      <p:testProcessRequest xmlns="http://eclipse.org/bpel/sample">
      <p:input>1</p:input>
      </p:testProcessRequest>
      </body>

      3. Check the variable value of "extPLRequest"

      4. It should have been something like

      <message>
      <parameters>
      <getRewardTransRecord xmlns="http://ws.wso2.org/dataservice" testAttribute="testAttributeValue">
      <ns1:userIdin testUserIdAttribute="testValue" xmlns:ns1="http://ws.wso2.org/dataservice">1</ns1:userIdin>
      <ns1:countIn xmlns:ns1="http://ws.wso2.org/dataservice">9</ns1:countIn>
      </getRewardTransRecord>
      </parameters>
      </message>

      But the real value is
      <message>
      <parameters>
      <getRewardTransRecord xmlns="http://ws.wso2.org/dataservice" testAttribute="testAttributeValue">
      <ns1:userIdin xmlns:ns1="http://ws.wso2.org/dataservice">1</ns1:userIdin>
      <ns1:countIn xmlns:ns1="http://ws.wso2.org/dataservice">9</ns1:countIn>
      </getRewardTransRecord>
      </parameters>
      </message>

      So the attribute is missing.

      Regards,
      Denis Weerasiri

      Attachments

        1. ODE-960.patch
          3 kB
          Denis Weerasiri
        2. testXPathAttribute.zip
          5 kB
          Denis Weerasiri

        Activity

          People

            vanto Tammo van Lessen
            ddweerasiri Denis Weerasiri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: