[
http://jira.jboss.com/jira/browse/JBWS-2009?page=all ]
Franz Willer updated JBWS-2009:
-------------------------------
Summary: Get FileNotFoundException for nested imported xsd files (was:
Get FileNotFoundException for nested included xsd files)
Workaround Description: put schema dirs/files to wsdl directory.
Description:
I have following (simplified) structure:
WEB-INF/wsdl/test.wsdl
WEB-INF/schema/test/test.xsd
WEB-INF/schema/ebRS/rs.xsd
In test.wsdl is test.xsd imported (../schema/test/test.xsd)
In test.xsd is rs.xsd imported (../ebRS/rs.xsd)
Deployment failed with a FileNotFound Exception ( ..../wsdl/schema/ebRS/rs.xsd vs. i would
expect: .../schema/ebRS/rs.xsd)
I tracked the problem down to WSDLFilePublisher.publishSchemaImports:
the resourcePath contains two slashes ( WEB-INF/wsdl//..schema/test/../ebRS/rs.xsd) before
getting the resourceURL.
I think this caused the getMetaDataFileURL method to treat the '..' part after
wsdl wrong. (when i correct the resourcePath value it works fine)
This failure occurs only if the schema files are not in wsdl directory branch.
was:
I have following (simplified) structure:
WEB-INF/wsdl/test.wsdl
WEB-INF/schema/test/test.xsd
WEB-INF/schema/ebRS/rs.xsd
In test.wsdl is test.xsd imported (../schema/test/test.xsd)
In test.xsd is rs.xsd imported (../ebRS/rs.xsd)
Deployment failed with a FileNotFound Exception ( ..../wsdl/schema/ebRS/rs.xsd vs. i would
expect: .../schema/ebRS/rs.xsd)
I tracked the problem down to WSDLFilePublisher.publishSchemaImports:
the resourcePath contains two slashes ( WEB-INF/wsdl//..schema/test/../ebRS/rs.xsd) before
getting the resourceURL.
I think this caused the getMetaDataFileURL method to treat the '..' part after
wsdl wrong. (when i correct the resourcePath value it works fine)
Get FileNotFoundException for nested imported xsd files
-------------------------------------------------------
Key: JBWS-2009
URL:
http://jira.jboss.com/jira/browse/JBWS-2009
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-2.0.1.SP2
Environment: JBoss-4.2.2.GA
Reporter: Franz Willer
I have following (simplified) structure:
WEB-INF/wsdl/test.wsdl
WEB-INF/schema/test/test.xsd
WEB-INF/schema/ebRS/rs.xsd
In test.wsdl is test.xsd imported (../schema/test/test.xsd)
In test.xsd is rs.xsd imported (../ebRS/rs.xsd)
Deployment failed with a FileNotFound Exception ( ..../wsdl/schema/ebRS/rs.xsd vs. i
would expect: .../schema/ebRS/rs.xsd)
I tracked the problem down to WSDLFilePublisher.publishSchemaImports:
the resourcePath contains two slashes ( WEB-INF/wsdl//..schema/test/../ebRS/rs.xsd)
before getting the resourceURL.
I think this caused the getMetaDataFileURL method to treat the '..' part after
wsdl wrong. (when i correct the resourcePath value it works fine)
This failure occurs only if the schema files are not in wsdl directory branch.
--
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