You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Stefano Ghezzi (JIRA)" <ji...@apache.org> on 2010/11/24 07:50:15 UTC
[jira] Created: (AXIS2-4895) WSDL imported schema not correctly
delivered when schemaImport use relative path
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Updated: (AXIS2-4895) WSDL imported schema not correctly
delivered when schemaImport use relative path
Posted by "Stefano Ghezzi (JIRA)" <ji...@apache.org>.
[ 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
[jira] Commented: (AXIS2-4895) WSDL imported schema not correctly
delivered when schemaImport use relative path
Posted by "Stefano Ghezzi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935229#action_12935229 ]
Stefano Ghezzi commented on AXIS2-4895:
---------------------------------------
Workaround:
copy all wsdl/xsd from WEB-INF/classes to /
and let the tool access the wsdl/xsd from the http server avoiding axisservlet intervention
> 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