JAX-WS WebServices do not return UTF-8 by default since 10.3.6
(Doc ID 1593902.1)
Last updated on APRIL 15, 2020
Applies to:Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.
An upgrade has been done to WLS 10.3.6
WLS changed behavior with regards to in what Characterset the data is returned for JAX-WS WebServices. WLS returns now with the same Content-Type as the request (while in earlier versions this was by default utf-8).
- For a given request with:
(no other headers specified like Accept-Charset or Accept)
- I will return in my WebService \u00EA (this is ê)
Then the following behavior is seen:
* in WLS versions < 10.3.6 the returned Content-Type is:
and C3AA is seen in the payload (this is the UTF-8 codepoint for ê, so correct)
* in WLS versions >= 10.3.6 tjhe returned Content-Type is:
Content-Type: text/xml ;charset=ISO-8859-1
and EA is seen in the payload (this is the ISO-8859-1 codepoint for ê, so correct)
upgrade to WLS 10.3.6 or higher
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document