My Oracle Support Banner

WLS 12.1.3 XML Parsing Error (java.io.IOException: java.io.IOException: java.lang.IllegalArgumentException: The Char '0x0' after '' Is Not a Valid XML Character) When Using Apache Axis Based WebService Which Is Caused by Additional Padding in JDBC (Doc ID 2162164.1)

Last updated on MARCH 05, 2018

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

You have deployed an Axis 1.4 WebService to your WLS 12.1.3 domain. The SOAP payload is in the DB and is retrieved during a client call. On WLS 12.1.3 Linux environment, the SOAP payload while retrieving from DB has a lot of padding.  While running an Apache Axis based WebService there are some messages that will produce the following error (when pulling them out/trying to read them) i.e. This is causing the SOAP request to fail with the following error:

This is the correct format of SOAP payload that need to be pulled from the DB.

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.