[JBoss JIRA] Created: (JBWS-1798) JBossWS cannot find local schema with relative url:s
by Oskar Carlstedt (JIRA)
JBossWS cannot find local schema with relative url:s
----------------------------------------------------
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
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