My Oracle Support Banner

WebLogic Web Services XSD Relative Location Not Preserved (Doc ID 1351859.1)

Last updated on APRIL 12, 2018

Applies to:

Oracle Weblogic Server - Version to [Release 11g]
Information in this document applies to any platform.


After creating a web service with an xsd import ( relative location ) such as

<xsd:import schemaLocation="./xsd/address.xsd"

and then deploying the WAR to WebLogic server 10.3.x the WSDL is checked in the WLS admin console.

The console shows the WSDL location with something like:

<xsd:schema targetNamespace=""

The deployment WAR specifies a relative location, but once deployed to the WebLogic server this
is replaced by the actual host:port URL of the server. Why is the relative location not preserved?


To view full details, 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 a vibrant support community of peers and Oracle experts.