[jbossws-issues] [JBoss JIRA] Commented: (JBWS-3070) Secondary import of XSD contains incorrect path

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Tue Jul 6 07:59:46 EDT 2010


    [ https://jira.jboss.org/browse/JBWS-3070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12537983#action_12537983 ] 

Darran Lofthouse commented on JBWS-3070:
----------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.jboss.test.ws.jaxws.jbws3070.JBWS3070TestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.248 sec 

> Secondary import of XSD contains incorrect path
> -----------------------------------------------
>
>                 Key: JBWS-3070
>                 URL: https://jira.jboss.org/browse/JBWS-3070
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>    Affects Versions:  jbossws-native-3.1.2
>            Reporter: Stelios Koussouris
>            Assignee: Darran Lofthouse
>             Fix For: jbossws-native-3.4.0
>
>
> WSDL contains import for 2 XSDs
> The paths to both XSD imports are correct containing
> schemaLocation=http://127.0.0.1:8080/my-web-service/my-web-service/?wsdl&resource=../../../xsd/misc/my-first-import.xsd
> When using the link to my-first-import.xsd the content of it is presented and it contains further import of 
> schemaLocation="http://127.0.0.1:8080/my-web-service/?wsdl&resource=../../external/xsd/misc/secondary-import.xsd"
> This one's path contains only "../../" and the link to it fails if it was "../../../../".
> ---------------------------------------------------------------------------------------------
> When an xsd contains an import with a relative URL the URL is relative to the specific schema.
> When accessing the WSDL and XSD after deployment to JBossWS all schemaLocations are replaced with an absolute URL: -
>   http://localhost:8080/my-web-service/?wsdl&resource=../../../xsd/misc/internal-misc.xsd
> This URL contains a resource parameter which is the location of the .xsd relative to the wsdl, currently the relative part is being left relative to the xsd and not the wsdl.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list