Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Trigger talend Jobs hosted on TAC by external Wso2 web services

Hi , 

I want external wso2 service trigger my talend DI job as soon as place a text file in server. I do not want to trigger the talend DI job from TAC by scheduling in every 5 min or do not want to use waitforfile task inside the Job.

Labels (2)
10 Replies
akumar2301
Specialist II
Specialist II

Anonymous
Not applicable
Author

Thanks for the details . But you are suggesting to use file based trigger than cron triggers on TAC . But I just want to know how a external WSO2 web service trigger my Talend job that is hosted on TAC . ( I dont want to use any TAC triggers ) . 

 

May be I have to expose my talend Job as web service so that Wso2 can trigger. Not sure. 

vapukov
Master II
Master II

Hi

 

I thought Abhishek just attach the wrong link, the proper is:

Invoking the Talend Administration Center API interactively

akumar2301
Specialist II
Specialist II

Yes Metaservlet API is your answer if you want to execute TAC job conductor tasks from external application.

 

Also, you can build your job as webservice with tBufferOutput . below links will help.

 

https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/humU5T9w4dnnLOTB90Q_mQ

https://help.talend.com/reader/nXPtKhielAtSqFD6_f7~OQ/V5yP4nItw687WwHLVpxwFQ

 

Hope you find your solution.

Anonymous
Not applicable
Author

Thanks for the details. Is there any way we can send SOAP xml as input with API call to the DI job and DI job will store the information on Database. Input will be XML send by external Wso2 layer.
Anonymous
Not applicable
Author

@vapukov : Thanks for your help . I have checked and it worked for me.
Anonymous
Not applicable
Author

The Metaservlet API is not a SOAP API I'm afraid. Do you need to provide details to the job to enable it to run?
Anonymous
Not applicable
Author

@rhall : Thanks for your reply . Yes That would be great if a Wso2 web service can invoke and send a SOAP XML as input and process the data through the Talend Job . 

Anonymous
Not applicable
Author

You cannot use a SOAP service to invoke the MetaServlet API unless you create a wrapper SOAP service which calls the MetaServlet for you. This is possible, but you will need to use the ESB product. Also, you can only supply context variable values to the jobs that you want to start. You *could* send your XML as a String to your jobs via a String context variable and then convert it inside the job. Why do you need to use SOAP?