My Oracle Support Banner

WSDL Import Fails With ClassCastException Error In JDeveloper 10g (Doc ID 1140483.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle JDeveloper - Version: 10.1.3.1.0 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms


Got the following exception when creating a Web Service Proxy for the "second time" in JDeveloper:


java.lang.ClassCastException: oracle.j2ee.ws.common.processor.model.java.JavaStructureType
at oracle.j2ee.ws.common.processor.modeler.wsdl.LiteralSchemaTypeModeler.checkArrayWrapper(LiteralSchemaTypeModeler.java:748)
at oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaAnalyzer.getMappedType(SchemaAnalyzer.java:375)
at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.processElementMember(ComplexTypeBindingModeler.java:353)
at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.processMember(ComplexTypeBindingModeler.java:191)
at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.structuredType(ComplexTypeBindingModeler.java:168)
at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.complexType(ComplexTypeBindingModeler.java:442)
at oracle.j2ee.ws.common.processor.modeler.wsdl.LiteralSchemaTypeModeler.complexType(LiteralSchemaTypeModeler.java:495)

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
  Cause
  Solution

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

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