Please specify the address or context path explicitly, relying on the
default convention can be a bit brittle

Cheers, Sergey

On Thu, Jun 16, 2011 at 1:09 PM, TimD <[email protected]> wrote:
> I'm new to CXF and OSGi so I've been following the tutorial:
>
> http://cxf.apache.org/developing-a-distributed-osgi-application-in-eclipse.html
> http://cxf.apache.org/developing-a-distributed-osgi-application-in-eclipse.html
>
> There aren't any errors but I can't access the service WSDL.
>
> When I run the example the console says (followed by a load more logging but
> no errors):
>
> osgi> Setting HttpService port to: 8080
>
>
> If I try and access the WSDL at
> http://localhost:9000/test/distributed/service/TemperatureService?wsdl (as
> it says in the tutorial) I get:
>
> Oops! Google Chrome could not connect to localhost:9000
>
> If I try and access the WSDL at
> http://localhost:8080/test/distributed/service/TemperatureService?wsdl I
> get:
>
> HTTP ERROR: 404
>
> NOT_FOUND
> RequestURI=/test/distributed/service/TemperatureService
>
> Powered by jetty://
>
> The OSGi console doesn't show anything wrong:
>
> Framework is launched.
>
> id      State       Bundle
> 0       ACTIVE      org.eclipse.osgi_3.6.2.R36x_v20110210
> 1       ACTIVE      javax.servlet_2.5.0.v200910301333
> 2       ACTIVE      cxf-dosgi-ri-singlebundle-distribution_1.2.0
> 3       ACTIVE      MyDistributedService_1.0.0.qualifier
> 4       ACTIVE      org.eclipse.osgi.services_3.2.100.v20100503
>
> I am using Eclipse Java EE IDE for Web Developers Helios Service Release 2
> and cxf-dosgi-ri-singlebundle-distribution-1.2.jar.
>
> Any idea what I am doing wrong?
>
>
>
>
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/Problem-creating-a-Distributed-OSGi-service-tp4494805p4494805.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>



-- 
Sergey Beryozkin

Application Integration Division of Talend
http://sberyozkin.blogspot.com

Reply via email to