1 Reply Latest reply on Jul 23, 2012 10:28 PM by 951195

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

      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.