This discussion is archived
1 Reply Latest reply: Aug 8, 2012 5:37 AM by user12050615 RSS

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

951895 Newbie
Currently Being Moderated
Hi,

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?

Thanks,
Ravi.

Legend

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