This discussion is archived
0 Replies Latest reply: Jul 26, 2012 2:06 AM by 951895 RSS

CM Web services gives class cast exception oracle xml parser v2 DTD

951895 Newbie
Currently Being Moderated

When using CM webservices getting the class cast exception.

oracle.xml.parser.v2.DTD cannot be cast to org.w3c.dom.Element

The following code throws the error.
CompanyService service = new CompanyService(wsdlURL);

The same code when called from jdev or executed directly by creating a jar file it works fine.
I am calling this from Oracle EBS java concurrent request.

Verified that when executed as jar the java version used is 1.6.0_07. The same is the version when executed from concurrent request.
got the version using System.getProperty("java.version")

Any clue?



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