WLS 10.3: JWSC Ant task fails to find schema at relative path.
Last updated on FEBRUARY 24, 2017
Applies to:Oracle Weblogic Server - Version: 10.3
Information in this document applies to any platform.
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).
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms