Hi Srikanth05,
Well, in Shaik’s Case if he has 3 doc list inside document at source side and same structure (not the fields or document or doclist) at target.
He has to put loop for individual doclist and give correct “in-array” and “out-array” , so as to accomplish field to field mapping. E.g.
LOOP [inarray : source_doc\doclist1, outarray : target_doc\doclist1 ]
---------MAP [field to field mapping]
LOOP [inarray : source_doc\doclist2, outarray : target_doc\doclist2 ]
---------MAP [field to field mapping]
.
.
.Same way for all the doclist inside parent document.
If , Doclist are nested, then nested loop will be used e.g.
LOOP [ inarray : source_doc\doclist1 , outarray : target_doc\doclist1]
-----MAP [field to field mapping]
-----LOOP [ inarray :source_doc\doc1\doclist2 , outarray : target_doc\docl1\doclist2
----------MAP [ field to field mapping]
.
.
.
.
.Same way for all the nested doclist.
Note: a documentlist (if mentioned in an in-array or an our-array) becomes document inside LOOP.
Let me know your concerns.
Regards,
Puneet Saxena
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods