Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

951895Jul 26 2012 — edited Aug 8 2012
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.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 5 2012
Added on Jul 26 2012
1 comment
1,642 views