axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Ghezzi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-4895) WSDL imported schema not correctly delivered when schemaImport use relative path
Date Wed, 24 Nov 2010 06:54:14 GMT

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

Stefano Ghezzi updated AXIS2-4895:
----------------------------------

    Attachment: ag.zip

the wsdl and xsd

> WSDL imported schema not correctly delivered when schemaImport use relative path
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-4895
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4895
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.5.1
>         Environment: jboss, linux, jdk 1.6
>            Reporter: Stefano Ghezzi
>         Attachments: ag.zip
>
>
> I have a wsdl with an included schema
> This schema include another  schema with a relative path 
> When i try to access to the wsdl with a tool (for example soapui) to generate 
> a client a get an error because the schema is not correctly delivered
> Looking at the problem it seems that the relative path on the schemaImport causes problems
> With an url like this i get the wsdl 
> AreaGeogrDataService.AreaGeogrDataServiceImplPort?wsdl
> inside there is a reference to the xsd like this
> schemaLocation="AreaGeogrDataService.AreaGeogrDataServiceImplPort?xsd=AreaGeogrDataService.xsd"
> getting the schemaLocation gives back also a reference to the included schema
>  schemaLocation="AreaGeogrDataService.AreaGeogrDataServiceImplPort?xsd=../common/WsResult.xsd"/>

> BUT getting the included schemaLocation gives back
> schemaLocation="AreaGeogrDataService.AreaGeogrDataServiceImplPort?xsd=AreaGeogrDataService.xsd"
> creating something like a loop
> If i just load the file from the server from a web server everything works
> I will attach the wsdl and xsd

-- 
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