Loop on /Orders
–> Map Orders field to orders_temp doc
–> Append to Doc? (what params do I provide for fromList and toList)
you should create orders_temp as a document not as doclist and map the Orders elements initially
Before Appending the orders_temp to Orders you have to map the Orders/Items.So
–> Loop on Orders/Items
------->Map Items field to item_temp doc
-------> Append to Doc? (what params do I provide for this?)
you should create item_temp as a document not as doclist
then in Appending service pass the params for fromItem (item_temp) and toList (orders_temp/ListofItems/Items) and remember dropping the item_temp in the pipelineout.
Finally in Orders Appending pass the params for fromItem (orders_temp) and toList (Orders) and remember dropping the orders_temp in the pipelineout.
After Comming out of the loop you will see the correct output document that you require.
Hope this helps,
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services