[Users] [BPEL] How to initialize array variable
RudyWI
rudywi at gmail.com
Wed Mar 16 10:59:50 CET 2011
Hi,
mySchema.xsd
Code:
<complexType name="myType">
<sequence>
<element name="myValue" type="string" maxOccurs="unbounded" />
</sequence>
</complexType>
I try to assign several elements "myValue" into a variable using the following BPEL process.
myBpelProcess.bpel
Code:
<variable name="myVar" type="ns:myType" />
...
<assign name="buildVar">
<copy>
<from>"value1"</from>
<to>$myVar/ns:myValue[1]</to>
</copy>
</assign>
<assign name="buildVar2">
<copy>
<from>"value2"</from>
<to>$myVar/ns:myValue[2]</to>
</copy>
</assign>
But the second assignment doesn't work.
Can you help me ?
Thx
-------------------- m2f --------------------
Subscribe/Unsubscribe emails notifications.
Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)
Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=31100#31100
-------------------- m2f --------------------
More information about the Users
mailing list