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
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: [email protected]
For additional commands, e-mail: [email protected]