WLS 10.3: JWSC Ant task fails to find schema at relative path. (Doc ID 1222623.1)

Last updated on FEBRUARY 24, 2017

Applies to:

Oracle Weblogic Server - Version: 10.3 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

JWSC ANT TASK FAILS TO FIND SCHEMA AT RELATIVE PATH
If you have data services applications which are implemented on ODSI 10gR3 and using Java Web Services as the delivery interfaces. As part of the continuous integration process you need to automate the application builds.
You will find that this effort has been hindered and completed stopped by an issue with the Ant build scripts exported from the WebLogic Workshop for packaging the Java Web Services as an EAR. The exported Ant scripts failed to compile JWS files because the XSD schema files contain imports using relative paths pointing to schemas not in the same directory. This problem went away after all schemas were moved into the same directory and import paths changed to point to the current directory. Unfortunately, this workaround will not work for all situations because there are hundreds of schemas (already published to the consumers).

Changes

N/A.

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