You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bozhong Lin (JIRA)" <ji...@apache.org> on 2006/12/06 08:03:25 UTC

[jira] Updated: (CXF-290) wsdl space in path name problem on Windows

     [ http://issues.apache.org/jira/browse/CXF-290?page=all ]

Bozhong Lin updated CXF-290:
----------------------------

        Fix Version/s: 2.0-RC
    Affects Version/s: 2.0-RC
                           (was: 2.0-M1)

> wsdl space in path name problem on Windows
> ------------------------------------------
>
>                 Key: CXF-290
>                 URL: http://issues.apache.org/jira/browse/CXF-290
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-RC
>         Environment: Install distribution on Windows in a directory which contains space in the path name.
>            Reporter: Peter Jones
>             Fix For: 2.0-RC
>
>
> When there's a space in the path name in which I unzip the distribution on windows, I get the exception included below when I try to run the hello_world demo server.  The wsdlLocation of the WebService annotation in the generated Greeter.java has a space in the path name of the wsdl, which the URIResolver doesn't seem to like.
> Probably related to this: http://forum.java.sun.com/thread.jspa?threadID=776791&messageID=4422252
> I'll see if I can come up with a patch as a workaround.
> The exception trace:
>      [java] Starting Server
>      [java] Exception in thread "main" javax.xml.ws.WebServiceException: Could not find WSDL with URL file:/C:/cygwin/home/pejones/space dir/bango/samples/service_creation/hello_world/wsdl/hello_world.wsdl
>      [java]     at org.apache.cxf.jaxws.support.JaxWsServiceConfiguration.getWsdlURL(JaxWsServiceConfiguration.java:115)
>      [java]     at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.getWsdlURL(ReflectionServiceFactoryBean.java:792)
>      [java]     at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:170)
>      [java]     at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:116)
>      [java]     at org.apache.cxf.jaxws.EndpointImpl.<init>(EndpointImpl.java:99)
>      [java]     at org.apache.cxf.jaxws.spi.ProviderImpl.createEndpoint(ProviderImpl.java:57)
>      [java]     at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:66)
>      [java]     at javax.xml.ws.Endpoint.publish(Endpoint.java:156)
>      [java]     at demo.hw.server.Server.<init>(Server.java:31)
>      [java]     at demo.hw.server.Server.main(Server.java:35)
>      [java] Java Result: 1

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira