send xml to service API

Highlighted
Four Stars

send xml to service API

Hello All,

 

I am new to talend and i have below scenario:

I want to  read a input records from table and create xml format and send to service API (any free api)

 

I am able to read a file from table and create a file in xml format, i am not able to send the xml to service API.

 

Can anyone pls help me in this.

Highlighted
Community Manager

Re: send xml to service API

You need to know what type of service you are sending to and will also need to know how that service is configured. One size does NOT fit all. But as an example, if you are sending your XML to a Rest service, you will want to use a tRestClient and pass the data to the Body column of the input schema.

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

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog