Developing Rest based API that connects to a subjob which calls third party API

Highlighted
Four Stars

Developing Rest based API that connects to a subjob which calls third party API

Hello,

 

I am new to Talend Open Studio for ESB. What am to trying to achieve is develop a rest API that can be exposed while consuming third party api. I created a sub job using tRestClient to consume the third party api; then connect it to tRestRequest  in other to accept request from users and define the new service endpoint that would be exposed.The product i am using to develop is talend studio. Attached is a screenshot of the design. But am getting compilation error, I don't know if the components are correctly arranged or am I missing something. Kindly assist.

 

Thanks.

Highlighted
Sixteen Stars
Sixteen Stars

Re: Developing Rest based API that connects to a subjob which calls third party API

Problem is not components arrangement but tRestClient settings. Share this piece.

TRF
Highlighted
Four Stars

Re: Developing Rest based API that connects to a subjob which calls third party API

Thanks for the swift response. Kindly find below the tRestClient configuration screen shots.

 

 

tRestClient_AdvancedSettings.PNGtRestClient_BasicSettings.PNGtRestClient_InputSchema.PNGtRestClient_ResponseSchema.PNG

Highlighted
Four Stars

Re: Developing Rest based API that connects to a subjob which calls third party API

Also kindly find attached the the project file. Thanks

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog