CM Web services gives class cast exception oracle xml parser v2 DTD
951895Jul 26 2012 — edited Aug 8 2012Hi,
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.