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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms