axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinath Perera (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2-3191) Failure when WSDL imports schema that imports other schemas from relative URLs
Date Tue, 21 Dec 2010 14:34:16 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-3191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Srinath Perera reassigned AXIS2-3191:
-------------------------------------

    Assignee: Srinath Perera  (was: Amila Chinthaka Suriarachchi)

> 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: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.3
>            Reporter: Linus Kamb
>            Assignee: Srinath Perera
>            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.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message