Relative Path in XSD Import Fails in WSDL for Weblogic Web Services (Doc ID 1570265.1)

Last updated on OCTOBER 10, 2016

Applies to:

Oracle WebLogic Server - Version 10.0 to 12.1.2.0.0
Information in this document applies to any platform.

Symptoms

The issue is related to the processing of imports in WSDL and XSD files when using relative paths.

The web service application was developed and working on Weblogic 9.2. Now they are attempting migration on Weblogic 10.3.3 or above version. The web services are created from WSDL using "wsdlc". The local file is located in a folder at the same level as WEB-INF. At the same level it is also the "schemas" folder that contains all the schemas used in the project. All WSDL and XSD files have imports and the imports are relative to that directory.

The WSDL file of that web service imports 2 XSD files:

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