Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
foblo
Contributor
Contributor

Talend not sending header in route

i have a very basic esb route using a cRest -> cprocessor

In the cprocessor i am setting the header like that :

exchange.getIn().setHeader("Test","asdasds");

According to the documentation the header should be propagated to the response but the client (me sending a request using soapui) is not receiving the test header, how come?

Labels (3)
2 Replies
Anonymous
Not applicable

Hello

Can you share us the document page link?

 

Regards

Shong​

foblo
Contributor
Contributor
Author

The documentation i used as a guide is https://help.talend.com/r/en-US/8.0/mediation-apache-cxf/mediation-apache-cxf-scenario

I use cRest as a testing endpoint to trigger the addition of the header.

The endgoal is to have a soap interface, add an authentication header and send it to a rest interface. So something like this:

cSOAP -> cSetHeader (that adds ("Auth","test123") as a header needed for the rest) -> cProcess (do some translation from soap to rest) -> cREST

But in my test setup (cREST -> cProcess -> cSetHeader) when i send a request with postman i am not getting the custom header back.