[jbossws-issues] [JBoss JIRA] (JBWS-3488) Cannot deploy webservices with schema import to paths with spaces
Alessio Soldano (JIRA)
jira-events at lists.jboss.org
Tue Apr 17 10:13:17 EDT 2012
[ https://issues.jboss.org/browse/JBWS-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alessio Soldano updated JBWS-3488:
----------------------------------
Fix Version/s: jbossws-cxf-4.1
Component/s: jbossws-cxf
> Cannot deploy webservices with schema import to paths with spaces
> -----------------------------------------------------------------
>
> Key: JBWS-3488
> URL: https://issues.jboss.org/browse/JBWS-3488
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws-cxf
> Reporter: James Baxter
> Assignee: Alessio Soldano
> Fix For: jbossws-cxf-4.1
>
>
> I cannot deploy my webservice in JBoss AS 7.1.1 due to a bug in jbossws-common 2.0.2.GA (bug is also still in trunk).
> When the path of the wsdl file has a space in it, schema imports are places in a directory with the spaces url encoded. This is due to the following line in AbstractWSDLFilePublisher#publishSchemaImports:
> File targetFile = new File(targetURL.getPath());
> I believe it should be:
> File targetFile = new File(targetURL.toURI());
> Ultimately this bug causes a FileNotFoundException later on when trying to find the imported schema in the expected location.
> I have made the change to 2.0.2.GA and verified that change has fixed my issue.
> The same line appears in publishWsdlImports, which should probably also be changed but I do not have any wsdl imports.
> Reference: http://anonsvn.jboss.org/repos/jbossws/common/trunk/src/main/java/org/jboss/ws/common/utils/AbstractWSDLFilePublisher.java
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list