This discussion is archived
1 Reply Latest reply: Jul 23, 2012 3:28 PM by 951195 RSS

xerces.internal.dom.DocumentImpl Error after upgrade of toolset

951195 Newbie
Currently Being Moderated
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.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points