[ 
https://issues.apache.org/jira/browse/AXIS2-3191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662463#action_12662463
 ] 

Martin Scholl commented on AXIS2-3191:
--------------------------------------

We also had the very same issue. The fix seems to work, indeed. Thanks for that.

It would be great to have an officially "cleaned" version since this bug is 
rather old..., maybe 1.5 ....

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Critical
>         Attachments: ESPortalCDI.wsdl
>
>
> 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.

Reply via email to