Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 himanshup
		
			himanshup
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello,
I have a tRESTClient component which I need to call using a tLoop component.
The output from tRESTClient is a JSON string that I am using tReplicate component to extract two levels of the JSON string.
I then use tJavaRow component to update the loop variables so it can call tRESTClient based on the new loop variables.
The difficulty I am having is that I am not sure how I can connect the tLoop component to the tRESTClient component.
We are on: Talend Studio version 8
 Sonal_Reddy_18
		
			Sonal_Reddy_18
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Himanshu,
Please connect the tloop to a tjava via iterate and then connect tjava to tRestcomponent via On Component Ok. Find the screen shot below.
 Sonal_Reddy_18
		
			Sonal_Reddy_18
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Himanshu,
Please connect the tloop to a tjava via iterate and then connect tjava to tRestcomponent via On Component Ok. Find the screen shot below.
 Madhav_Nalla
		
			Madhav_Nalla
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		some times we need to use place holder components like tJava as in above case to enable the iteration and also as show above it is recommended to use tHTTP client component over tRest client components
 himanshup
		
			himanshup
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thank you.
Your suggestion worked.
 himanshup
		
			himanshup
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thank you
