Issue With Soap Envelope Encoded In Charset Other Than UTF-8 - "java.io.CharConversionException: Malformed UTF-8 char -- is an XML encoding declaration missing" (Doc ID 1165066.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Weblogic Server - Version: 10.0 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

java.io.CharConversionException: Malformed UTF-8 char -- is an XML encoding
declaration missing?

Is is thrown when a Webservice receives a payload with soap envelope encoded in charset other
than UTF-8, e.g. ISO-8859-2

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms