Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis2 service using JVM encoding charset instead of UTF-8  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

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.

Please some advice about this.

Kind regards,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!