Axis2 service using JVM encoding charset instead of UTF-8
posted 3 years ago
I'm having some troubles with a service created with Axis2 from WSDL. The service is working fine, I mean, I can send requests and receive responses correctly.
The problem is that the response is using UTF-8 to encode the message, after checking with Wiresharks I can confirm the response specifies UTF-8 for both the xml messange and the HTTP header and the character I'm having problems with is correctly encoded with UTF-8.
The problem is that the client generated is using ISO-8859-15 to decode that message so some characters are wrong. That encoding charset is being used because is the one specified for the JVM. I'm afraid I can not change this so, is there any way to specify the charset to use to decode the messages in the responses? Might this be a bug as the response specifies correctly the encoding used? The Axis2 version I'm using is 1.0.