-
Bug
-
Resolution: Done
-
Major
-
None
-
None
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.
- is related to
-
JBPAPP-10417 Cannot deploy webservices when directories contain spaces
- Resolved
- relates to
-
JBWS-3544 xsd:import not working in WSDLs if EJB WebService deployed in EAR
- Closed