Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
lemufty
Contributor III
Contributor III

how to add header in esb soap

hello,

i have a problem with a webservice that i call in tesbConsumer.

when i add header in tesbconsumer, this header didn't send in the response.

can you help me

Labels (3)
3 Replies
gjeremy1617088143

Hi, you add them in Advanced settings ?

you can use this global var to see the haeders of the response :

((java.util.Map<String,java.util.List<String>>)globalMap.get("tESBConsumer_1_HEADERS"))

it's a Map so you have to check each iteration of it.

Send me Love and Kudos

 

lemufty
Contributor III
Contributor III
Author

hi,

in the response, i have null

in my simple example, i call webservice hello world with tESBConsumer.

i add header testheader and value egal "toto"

in this response header is value null.

thank you for your help0695b00000Ggd6uAAB.png

gjeremy1617088143

Hi, if webservice is restfull use postman to try your calls, if it's soap try with soapui , both are free and if you get something with one of them

you can transpose easily in talend