1 Reply Latest reply: Jul 23, 2012 5:28 PM by 951195 RSS

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

    951195
      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.