cancel
Showing results for 
Search instead for 
Did you mean: 

CPI | Override SOAP Adapter response encoding format

0 Kudos
583

Hello,

Scenario:

SOAP Adapter accepts the incoming request does some transformation and sends the data to External HTTP receiver, and we get response text in Polish language. Ex. Limit żądań osiągnięty.

Screenshot1:

Problem:

My expectation is Encoding remains in UTF-8. Which I see till end of message (Screenshot 2).

However when SOAP Adapter sends the response back to caller it always overrides and converts to Encoding: ISO-8859-1 (screenshot 3).

Note that am not setting any content-type or charset anywhere in headers. When I did try, adapter still overrides it. You can see the behavior in above screenshots captured during trace.

Is this always the expected behavior or am I missing something?

Thank you,

Suraj Acharya

Pavani2
Newcomer
0 Kudos
Is it Resolved, I am facing the same issue now

Accepted Solutions (0)

Answers (1)

Answers (1)

VijayKonam
Active Contributor
0 Kudos

That is not set by the adapter but by your service provider AFAIK. You could add a groovy script to encode the payload using UTF-8 and set the headers while sending the response back to the sender.