ODE
  1. ODE
  2. ODE-960

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.5, 1.4
    • Fix Version/s: 1.3.6, 1.4
    • Component/s: BPEL Runtime
    • Labels:
    • Environment:
      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

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

        Activity

          People

          • Assignee:
            Tammo van Lessen
            Reporter:
            Denis Weerasiri
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development