Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
1.5.4
-
None
-
None
-
JDK 1.6.0_24, Axis2 1.5.4, Tomcat 6
Description
If a provider-based endpoint specifies a WSDL like so:
@WebServiceProvider(wsdlLocation="/WEB-INF/wsdl/PojoProvider.wsdl")
..
and that WSDL imports an external XML schema like this:
<types>
<xsd:schema targetNamespace="http://www.yoyodyne.com"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:bar="http://www.yoyodyne.com/bar">
<xsd:import namespace="http://www.yoyodyne.com/foo" schemaLocation="foo.xsd"/>
</xsd:schema>
</types>
then, when deploying the provider-based endpoint as a JAR file into servicejars, the schemaLocation will be rewritten to
schemaLocation="PojoProviderService.PojoProviderPort?xsd=foo.xsd"
For provider-based endpoints, that URL does not correctly resolve at runtime. However, for endpoints annotated with @WebService, the same scenario works fine.