Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm trying to call an wsdl where i found and xml response https://ufile.io/8iaes
but if I use tExtractXMLField in Talend I can provide only one loop XPath query e.g. "/ns1:getAllAMODetailsReturn/ns1:amoList/ns1:amoList/ns1:allattr/ns1:allattr" so I can fetch all the record in this loop easily. but outside this loop there are the separate more loops e.g. association
"/ns1:getAllAMODetailsReturn/ns1:amoList/ns1:amoList/ns1:association/ns1:association" and I need all of them too, for reference I have attached the scrren shot
.
purse multiple loop in xml
Hello
It is impossible to configure multiple loop elements on tExtractXMLField component. I would suggest you to use multiple tExtractXMLField components to parse each loop, and then do an inner job on tMap to merge the two input data together if needed , for example:
....twebserviceInput--main--tHashOutput
|
onsubjobok
|
tHashInput1--main--tExtractXMLField1--main--tMap....>
|
lookup
|
tHashInput2--main--tExtractXMLField2
Hope it helps you.
Regards
Shong
Hello
It is impossible to configure multiple loop elements on tExtractXMLField component. I would suggest you to use multiple tExtractXMLField components to parse each loop, and then do an inner job on tMap to merge the two input data together if needed , for example:
....twebserviceInput--main--tHashOutput
|
onsubjobok
|
tHashInput1--main--tExtractXMLField1--main--tMap....>
|
lookup
|
tHashInput2--main--tExtractXMLField2
Hope it helps you.
Regards
Shong