JDeveloper Cannot Create A Web Service From A WSDL Which Has a Destination That Includes White Spaces
Last updated on APRIL 06, 2018
Applies to:Web Services - Version 126.96.36.199.0 to 188.8.131.52.0 [Release Oracle11g]
Information in this document applies to any platform.
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.
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