You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2010/02/04 16:50:27 UTC

[jira] Assigned: (CXF-2647) Fail to Create Top Down Web Service from WSDL, if WSDL path has spaces in between

     [ https://issues.apache.org/jira/browse/CXF-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-2647:
--------------------------------

    Assignee: Daniel Kulp

> Fail to Create Top Down  Web Service from WSDL, if WSDL path has spaces in between
> ----------------------------------------------------------------------------------
>
>                 Key: CXF-2647
>                 URL: https://issues.apache.org/jira/browse/CXF-2647
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>         Environment: Windows XP, Eclipse Platform Version: 3.5.0,Apache CXF  v2.2.6 
>            Reporter: Amandeep Chandna
>            Assignee: Daniel Kulp
>             Fix For: 2.2.6
>
>
>  Dynamic Web Project is created with following inputs (Make sure that the workspace where project is created has spaces in between),
> for me project location is :C:/Documents and Settings/achandna/Desktop/Extra-Jars/TestNewCXF
> Target runtime :Apache Tomcat v6.0
> Dynamic web module version:2.5
> Configuration :CXF Web Services Project  v2.5 
> CXF Home is set to Apache CXF  v2.2.6 
> I copied a wsdl into the project and tried to create a Bottom Up web Service by navigating through the wizard, but I am getting the following Exception
> ////////////////////////Exception Trace///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> WSDLToJava Error: org.apache.cxf.tools.common.ToolException: java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/achandna/Desktop/Extra-Jars/TestNewCXF/WebContent/wsdl/addimpl.wsdl
> org.apache.cxf.tools.common.ToolException: org.apache.cxf.tools.common.ToolException: java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/achandna/Desktop/Extra-Jars/TestNewCXF/WebContent/wsdl/addimpl.wsdl
> 	at org.apache.cxf.tools.validator.internal.WSDL11Validator.getWSDLDoc(WSDL11Validator.java:96)
> 	at org.apache.cxf.tools.validator.internal.WSDL11Validator.isValid(WSDL11Validator.java:111)
> 	at org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder.validate(JAXWSDefinitionBuilder.java:201)
> 	at org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder.validate(JAXWSDefinitionBuilder.java:61)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:167)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:128)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:271)
> 	at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:184)
> Caused by: org.apache.cxf.tools.common.ToolException: java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/achandna/Desktop/Extra-Jars/TestNewCXF/WebContent/wsdl/addimpl.wsdl
> 	at org.apache.cxf.tools.validator.internal.Stax2DOM.getDocument(Stax2DOM.java:51)
> 	at org.apache.cxf.tools.validator.internal.WSDL11Validator.getWSDLDoc(WSDL11Validator.java:91)
> 	... 10 more
> Caused by: java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/achandna/Desktop/Extra-Jars/TestNewCXF/WebContent/wsdl/addimpl.wsdl
> 	at java.net.URI$Parser.fail(URI.java:2816)
> 	at java.net.URI$Parser.checkChars(URI.java:2989)
> 	at java.net.URI$Parser.parseHierarchical(URI.java:3073)
> 	at java.net.URI$Parser.parse(URI.java:3021)
> 	at java.net.URI.<init>(URI.java:578)
> 	at org.apache.cxf.tools.validator.internal.Stax2DOM.getDocument(Stax2DOM.java:43)
> 	... 11 more
> ////////////////////////Exception Trace///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.