[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2009) WSDLFilePublisher throws FileNotFoundException if schema files are not in wsdl directory

Richard Opalka (JIRA) jira-events at lists.jboss.org
Fri Feb 22 04:36:42 EST 2008


     [ http://jira.jboss.com/jira/browse/JBWS-2009?page=all ]

Richard Opalka updated JBWS-2009:
---------------------------------

    Summary: WSDLFilePublisher throws FileNotFoundException if schema files are not in wsdl directory  (was: Get FileNotFoundException for nested imported xsd files)

> WSDLFilePublisher throws FileNotFoundException if schema files are not in wsdl directory
> ----------------------------------------------------------------------------------------
>
>                 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
>         Assigned To: Richard Opalka
>             Fix For: jbossws-native-2.0.4
>
>
> 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

        



More information about the jbossws-issues mailing list