-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
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.
- is incorporated by
-
JBPAPP-819 JBossWS - Cannot find local schema with relative urls
- Resolved
- is related to
-
JBAS-4901 Reverse paths are not allowed (containing a . or ..)
- Closed