Failure when WSDL imports schema that imports other schemas from relative URLs
------------------------------------------------------------------------------
Key: AXIS2-3191
URL: https://issues.apache.org/jira/browse/AXIS2-3191
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Affects Versions: 1.3
Reporter: Linus Kamb
Priority: Critical
My WSDL imports a schema from an absolute URL. That schema imports other
external public schemas from absolute URLs. Those schemas, in turn, import
schemas from relative URLs.
WSDL2Java works fine.
However at load time, the tomcat log reports:
[INFO] AARBasedWSDLLocator: Unable to resolve
http://schemas.opengis.net/gml/3.1.1/base/geometryAggregates.xsd
[INFO] Trouble processing wsdl file :WSDLException (at
/wsdl:definitions/wsdl:types/schema/xs:schema/xsd:schema):
faultCode=OTHER_ERROR: Unable to locate with a locator the schema referenced at
'../../gml/3.1.1/base/geometryAggregates.xsd' relative to document base
'http://schemas.opengis.net/filter/1.1.0/filter.xsd'
Furthermore, even with useOriginalwsdl set to true in services.xml, trying to
get the service wsdl returns:
<error>
<description>Unable to generate WSDL 1.1 for this service</description>
<reason>
If you wish Axis2 to automatically generate the WSDL 1.1, then please +set
useOriginalwsdl as false in your services.xml
</reason>
</error>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]