My Oracle Support Banner

Calling Web Service from a 11g Database Using Callout Utility Results in Error: java.lang.ClassCastException (Doc ID 1185096.1)

Last updated on FEBRUARY 13, 2024

Applies to:

Web Services - Version 10.1.3.1.0 and later
Information in this document applies to any platform.

Symptoms

When calling a Web Service from a 11g Database ( 11.1.0.7 ) on Windows Server 2008 x64 (64-bit) using Callout utility, got the following error although the same code works in a 10g database with the Callout utility:

java.lang.ClassCastException
at oracle.xml.parser.v2.XMLNSNode.appendChild (XMLNSNode.java)
at oracle.j2ee.ws.saaj.soap.ElementImpl.appendChild (ElementImpl.java:126)
at java_test.testxmltype (JAVA_TEST:13)

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.