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

Assignment to text() does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2
    • 2.0
    • BPEL Runtime
    • None

    Description

      According to the BPEL 2.0 spec, the following should be possible:

      <assign>
      <copy>
      <from>$creditApprovalVar/tns:approvedLimit</from>
      <to>$approvalNotice3Var/text()</to>
      </copy>
      </assign>

      However, with ODE the assignment is not possible. I'm declaring a variable $message to be of type message:

      <wsdl:message name="message">
      <wsdl:part name="main" element="message" />
      </wsdl:message>

      The element message has a simply type:

      <s:element name="message" type="s:string"/>

      Now the following is possible, not sure if it is legal:

      <from>substring("12345", 0, 3)</from>
      <to>$message.main</to>

      But not the following, even though it would be legal:

      <from>substring("12345", 0, 3)</from>
      <to>$message.main/text()</to>

      Attachments

        Activity

          People

            Unassigned Unassigned
            josef Josef Spillner
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: