Iterate Context LOV and call WSDL in a loop

Five Stars

Iterate Context LOV and call WSDL in a loop

As per my business requirement, I have to call a WSDL and then I need to parse the response (attached the WPOD.xml) and there are many lists of association, attributes.Association contains a list of id(s) using those ids as the parameter  I need to call another  WSDL. So I'm passing the list of association to the child job (as context lov variable) but how do i Iterate the context LOV and call WSDL in a loop and after parsing the response I have to return the collection of (child job ) response to its parent job (as list)

 

WorkFlow.JPGchildJobContext.JPGplease help me.

For reference I have attached the screen shot of the work flow 

I've highlighted the child job. And also attached the  context parameter.  

Community Manager

Re: Iterate Context LOV and call WSDL in a loop

Hello
You need to iterate each id using tFlowToIterate and pass it to child job, the job design looks like:
main job:
tSOAP--tXMLMap--main--tFlowIterate--iterate--tRunJob

tSOAP: returns the output as Document.
tXMLMap: extract all ids from the returned Document.
tRunJob: call the child job and pass current id to child job via context variable.

child job:
call another WSDL.

Hope it helps you!

Regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download