Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to assign a list of elements

KHeinFeb 9 2011 — edited Feb 28 2020
Hi everyone,

I am a newbie in BPEL and I am facing a problem with assigning a list of elements.

In my BPEL process, after invoking an adapter, it returns a list of elements which has similar structure as below.

<nodeList>
<node>
<name> ..</name>
<id> ... </id>
<desc> ... </desc>
<msgList>
<msg>....</msg>
</msgList>
</node>
</nodeList>

<msgList> is optional. I need to assign that list into output variable which has the same structure. I have tried Copy Operation but I got error at run time saying the list is empty. I have also tried Copy List Operation, but it failed as "The element returned from the to-list spec of the copyList operation did not have an element parent."

I would like to know how I could copy it into output variable. Thanks.

Regards,

K Hein
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 23 2011
Added on Feb 9 2011
4 comments
278 views