How to call a WebService with a XML as input parameter ?

Six Stars

How to call a WebService with a XML as input parameter ?

Hi,

 

I am not comfortable with WebService call.

I want to call a HTTP request with a XML as parameter and get a XML as response also.

How can i do ?

 

Thanks for your support,

Eight Stars

Re: How to call a WebService with a XML as input parameter ?

Use tRest Component with below settings:

Http Method : Post
Http Headers :
Name="Content-Type", value="application/xml"
Http body: PASTE YOUR XML CONTENT HERE.

Hope this helps !

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads