I am working with a SOAP webservice, I am using a WSDL file. This is the TXMLMAP where I am receiving the data from my client using the WSDL
As you can see, there is a complex type called "Bookings". This is supposed to be an array, defined by the WSDL.
How Can I deal with this? I would like to manage the data as if it was a loop of bookings. I think that by default, talend is not managing this.
I don't know If I am sending the data correct but with this soap client(boomerang) I am sending the data like this:
As you can see I am sending two different booking but with talend I am just receiving the first one.
I am not sure If I have explained my problem really good. The question is how to deal with arrays(list).
Solved! Go to Solution.
I have been able to get the information of the bookings using a Loop.
I am saving the array to tHashOutput_2.
Then, I am using thashinput_2 to get the values of the array, I save them with tjavarow using context variables AND then with the information of those variables I execute the job. I would like to iterate the data at tHasHinput_2 to loop the program with the different array content. I mean, with the first row, save the variables to a context variable and then execute the data.
To make it more clear, tHashInput_2 should send just the first row(array) to tXMLMAP, save the information and execute the rest of the job. Once the job is executed, send the second row(array) and execute the job again.