I am facing following problem.
- I am getting an XML doc from browser and invoking xmlStringToNode service.
- I am converting same in Document with XMLNodeToDocument.
- My document strcuture is
Var3 etc etc
- After converting node into Dcoument i have loop on document/documentList and then mapping each with canonical after putting some business logic.
My problem is, when i get multiple records in DocumentList, it goes into loop but for single record, my loop does not work and it directly comes out of loop.
Does anyone know how to slove this problem?