[jbossws-issues] [JBoss JIRA] Created: (JBWS-2009) Get FileNotFoundException for nested included xsd files
Franz Willer (JIRA)
jira-events at lists.jboss.org
Thu Feb 21 10:03:00 EST 2008
Get FileNotFoundException for nested included 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 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