Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Java EE (Java Enterprise Edition)
Java Technology & XML
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Jul 23, 2012 5:28 PM by
xerces.internal.dom.DocumentImpl Error after upgrade of toolset
Jul 23, 2012 1:28 PM
I upgraded my toolset from Java5 and JBoss4 to Java7 and JBoss7.
When I compile my code and try to execute a webservice call I now get this error:
Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DocumentImpl cannot be cast to org.apache.xerces.dom.DocumentImpl
It doesn't like this line of code
DocumentImpl inputDoc = (DocumentImpl) context.getInMessage().getProperty(org.codehaus.xfire.util.dom.DOMInHandler.DOM_MESSAGE);
Has anyone seen this issue.
This content has been marked as final.
Show 1 reply
Re: xerces.internal.dom.DocumentImpl Error after upgrade of toolset
Jul 23, 2012 5:28 PM
in response to
I updated to xercesImpl-2.9.1 and I have no issue