Bpel Append Function Does Not Work (Doc ID 1390236.1)

Last updated on OCTOBER 18, 2016

Applies to:

Oracle SOA Platform - Version: 11.1.1.5.0 and later   [Release: 11gR1 and later ]
Information in this document applies to any platform.

Symptoms


On a assign activity on JDev with BPEL 2.0 customer is mapping 4 variables,
this create an XML structure like this:

<assign name="setVar_asgn">
<copy>
<from>$inputVariable.payload/client:input</from>
<to>$outputVariable.payload/client:result</to>
</copy>
<extensionAssignOperation>
<bpelx:append>
<bpelx:from>$inputVariable.payload/client:ccNum</bpelx:from>
<bpelx:to>$outputVariable.payload/client:cNum</bpelx:to>
</bpelx:append>
<bpelx:append>
<bpelx:from>$inputVariable.payload/client:customerNum</bpelx:from>
<bpelx:to>$outputVariable.payload/client:AcctNum</bpelx:to>
</bpelx:append>
<bpelx:append>
<bpelx:from>$inputVariable.payload/client:custName</bpelx:from>
<bpelx:to>$outputVariable.payload/client:cName</bpelx:to>
</bpelx:append>
</extensionAssignOperation>
</assign>

The problem is when the composite is deployed and then tested on EM
This Four variables can be filled with the right values but only the first
is precessed. The response looks like this:

<outputVariable>
<part name="payload"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<processResponse
xmlns="http://xmlns.oracle.com/AppendSR/Project1/BPELProcess">
<result>Test</result>
<cNum>
<ns1:ccNum
xmlns:ns1="http://xmlns.oracle.com/AppendSR/Project1/BPELProcess">111-111-111 </ns1:ccNum>
</cNum>
<cName/>
<AcctNum/>
</processResponse>
</part>
</outputVariable>


Just the first variable is OK the others are empty.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms