Failed to Remove XML Header After Enabling JDK JAXB Provider on WebLogic 12.2.1.3
(Doc ID 2698377.1)
Last updated on SEPTEMBER 12, 2023
Applies to:
Oracle WebLogic Server - Version 12.2.1.3.0 and laterInformation in this document applies to any platform.
Symptoms
Application use below method to remove default XML header on WebLogic 11g with JDK JAXB provider. But same code can't work after migrating to WebLogic 12.2.1.3 with JDK JAXB provider.
Marshaller.setProperty("com.sun.xml.bind.xmlDeclaration", Boolean.FALSE);
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! |
In this Document
Symptoms |
Cause |
Solution |