cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Jones (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-290) wsdl space in path name problem on Windows
Date Sat, 09 Dec 2006 01:35:22 GMT
    [ http://issues.apache.org/jira/browse/CXF-290?page=comments#action_12457036 ] 
            
Peter Jones commented on CXF-290:
---------------------------------

This problem should be resolved with commit r484882.  Someone who has jira privileges can
mark this fixed.

> 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

        

Mime
View raw message