August 15, 2023

Scenario 2: Updating user information by interacting with a RESTful service – Docs for ESB 6.x

Scenario 2: Updating user information by interacting with a RESTful service

This scenario describes a three-component Job that updates the information of a list
of users to a remote database through a REST service using the HTTP POST method. When
executed, the Job displays the client-server message exchange information on the
Run console.

The user information to be updated to the server is stored in a CSV file, which looks
like the following:

Prerequisites:

If you are a
Talend Open Studio for ESB
user, create a Job
as described in Scenario 3: REST service accepting HTTP POST requests and run the Job
as a REST server to expose a REST service that accepts HTTP POST requests. Upon
execution of the Job, the console displays the service implementation information,
including the service endpoint URL, which is http://localhost:8045/users in
this example. If you enter http://localhost:8045/users?_wadl in your Web
browser, you should see the service definition information like the following:

components-trestclient_s2-1.png

If you are not a
Talend Open Studio for ESB
user, then you need
to get the service-related information from your REST service provider including the
URL, the resource path, and the data structure, and make necessary modifications in the
scenario configurations accordingly.


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x