From Thursday, July, 9, 3:00 PM Pacific,
our Community site will be in
read-only mode
through Sunday, July 12th.
Thank you for your patience.

tRestClient with @Delete : HTTP method DELETE doesn't support output

Highlighted
One Star

tRestClient with @Delete : HTTP method DELETE doesn't support output

Hi,
i'm trying to use the @Delete of a Rest WS, so i have :
tXMLMap --> tLog ---> tRestClient --> tLog
The WS path is /api/2/operator/1458  where 1458 is the user id to delete. I don't need any information in the WS body
But i have this error : HTTP method DELETE doesn't support output
Cannot figure out what i'm doing wrong  :/
Highlighted
One Star

Re: tRestClient with @Delete : HTTP method DELETE doesn't support output

I've tried to run the job with only
tRestClient --> tLog
With the path hardcoded and this is working, seems that the problem comes from the input. I've tried to remove everything (pass nothing to the RestClient) but i still have the same error Smiley Sad
Highlighted
One Star

Re: tRestClient with @Delete : HTTP method DELETE doesn't support output

up
Highlighted
One Star

Re: tRestClient with @Delete : HTTP method DELETE doesn't support output

For all who have the same issue: It's a Java Runtime Bug, simply upgrade your Java environment.
bug report

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 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

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog