JDeveloper Cannot Create A Web Service From A WSDL Which Has a Destination That Includes White Spaces (Doc ID 1498215.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Web Services - Version 11.1.1.4.0 to 11.1.1.6.0 [Release Oracle11g]
Information in this document applies to any platform.

Symptoms

A problem occurs when, in JDeveloper 11.1.1.x, a web service is created from a WSDL.  If the WSDL is located on the local file system and in a directory structure that contains spaces, an error appears similar to the following:

 oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/C:/Documents and Settings/Admin/My Documents/NetBeansProjects/TestRestWSWeblogic2/TestRestWSWeblogic2-war/web/WEB-INF/CustomerRead_v1_orig.wsdl": 'RepaymentMessage' is already defined....

If the same WSDL is moved to a directory structure that contains no spaces, (ex: c:/) the web service is created successfully.

The issue is not related to the length of the directory path, as the issue can be replicated using a small directory structure that contains a space.

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