[jbossws-issues] [JBoss JIRA] Reopened: (JBWS-1798) Cannot find local schema with relative urls
Heiko Braun (JIRA)
jira-events at lists.jboss.org
Wed Nov 7 09:29:46 EST 2007
[ http://jira.jboss.com/jira/browse/JBWS-1798?page=all ]
Heiko Braun reopened JBWS-1798:
-------------------------------
Align status with the dependend AS issue
> Cannot find local schema with relative urls
> -------------------------------------------
>
> Key: JBWS-1798
> URL: http://jira.jboss.com/jira/browse/JBWS-1798
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: JBoss 5.0 Beta2 and integrated JBossWS (2.0.0.DEV)
> Reporter: Oskar Carlstedt
> Assigned To: Thomas Diesler
> Fix For: jbossws-2.0.2
>
>
> I deploy an ear file in JBoss5 that contains a war and a jar fil. The jar file contains a SLSB and the war file contains the web service (implemented as a Provider<SOAPMessage>). The war file has the following file structure in the the WEB-INF/wsdl folder:
> WEB-INF/wsdl
> my-service.wsdl
> /imported
> /my-service
> /1.0-SNAPSHOT
> my-service.xsd
> /common
> /1.0-SNAPSHOT
> common.xsd
> the wsdl file has a schema import like
> <xsd:import schemaLocation="imported/my-service/1.0-SNAPSHOT/my-service.xsd" .../>
> the my service.xsd imports the common.xsd file with the following import statement
> <xsd:import schemaLocation="../../common/1.0-SNAPSHOT/common.xsd" .../>
> Having this configuration will put JBoss into trouble. The error message sent is telling med that parent paths are not allowed, and pointing out to use getParent() instead. So I setting the schemaLocation attribute to getParent()/getParent()/.... will point out another path, but it is completely wrong.
> PS...
> I hope I got all "../":s right. Anyway, I have validated my paths so they are correct. DS.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list