axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyan Yurukov (JIRA)" <>
Subject [jira] Commented: (AXIS2-3173) Codegen changes the schemaLocations as it is changed during runtime
Date Thu, 06 Sep 2007 14:52:32 GMT


Boyan Yurukov commented on AXIS2-3173:

I used the latest release of axis2 1.3.

> Codegen changes the schemaLocations as it is changed during runtime
> -------------------------------------------------------------------
>                 Key: AXIS2-3173
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen, wsdl
>    Affects Versions: 1.3, 1.2
>         Environment: WinXP
>            Reporter: Boyan Yurukov
>            Priority: Critical
> I have a wsdl that imports a xsd. When I generate the code with wsdl2java, the resulting
resources\DaService.wsdl has wrong schemaLocations in the imports. They should be:
> ...
> <import namespace="urn:some:namespace" schemaLocation="xsd0.xsd"/>
> , but what I get in the resources\DaService.wsdl is:
> ...
> <import namespace="urn:some:namespace" schemaLocation="DaService?xsd=xsd0.xsd"/>
> This should happen only during runtime when the path of the schema relative to the web
server is truly "http://....../DaService?xsd=xsd0.xsd". However in the wsdl of the generated
code (consequently in the wsdl inside the .aar file), the schema locations should still be
relative to the file system, namely "xsd0.xsd" or "./xsd0.xsd".
> I fix this by manually changing the schema locations in the generated code. 

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:
For additional commands, e-mail:

View raw message