I want to create a Job that call a soap web service several times (loop), if i have an element in the result of the call which equal "FFF" I go out of the loop, else I take the last element of my xml result and I redo the call to the same web service. Please give me the architecture of this jib and the componement that i need .
Hi
Use a tLoop to loop the calling many times, select 'While' loop type on tLoop, set the condition with a context variable, boolean type, true as default value, call the webservice and parse the return result, change the value of context variable based on the parsed result. eg:
tLoop--iterate--tESBConsumer--main--tXMLMap--tJavaRow
on tJavaRow: set the value of context variable based on the result, something like:
if(input_row.result.equals("FFF")){
context.condition=false;
}else{
context.condition=true;
}