WSDL Proxy Generation Causes "Error creating model from WSDL"

(Doc ID 975496.1)

Last updated on JULY 06, 2017

Applies to:

Web Services - Version to
Information in this document applies to any platform.
***Checked for relevance on 27-Aug-2013***
***Checked for relevance on 01-Sept-2015***


The following error occurs when trying to generate a web service client proxy using the JDeveloper Web Service Client Proxy wizard

oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/D:/Temp/OTMService_60_WMServlet.wsdl": (Relevant to above error) another "XLane" is generated from here.This error is caused because on Windows you cannot have both "" and "" in the same directory.A class/interface with the same name "" is already in use. Use a class customization to resolve this conflict.Two declarations cause a collision in the ObjectFactory class.(Related to above error) This is the other declaration. (Relevant to above error) This confusing error happened most likely because the schema uses a technique called "chameleon schema", which causes a single definition to be loaded multiple times into different namespaces. See for more about this. 

This is reproduced using the steps.


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