One Star

Add Authentication to the web service and Suggestions to improve

Hi All,
I'm quite new to talend. I have this particular user scenario, where the user will call a web service in talend from salesforce, he'll pass the Salesforce org id and an object id to the web service. Talend on receiving the request has to retrieve the salesforce connection parameters from a database in mysql using the salesforce org id and establish the connection. After establishing the connection, it retrieves the details of the Object using the object ID that was passed to it.I store the object ID as a context parameter. I came up with a service (i'm not sure if this is the correct way to do this), as shown in the attached image. It is working as expected.
It'll be helpful if someone can tell me how to add authentication to the job and also suggest how it can be improved to make it work better.
Regards,
Praveen
1 REPLY
One Star

Re: Add Authentication to the web service and Suggestions to improve

Hi Prav,
you can see how to enable authentication e.g. here http://www.youtube.com/watch?v=fhlQIWWw9c8
it's simply a check box in the WS properties, then the WS will require WS-Security Username Token.
Gabriel