Actually, you'd be better off using a released DOSGI RI 1.1, as 1.2-SNAPSHOT can be a bit unstable at the moment. Also, as far as greeter_rest/client is concerned, it only works with a single bundle distribution at the moment
Cheers, Sergey -----Original Message----- From: Sergey Beryozkin [mailto:[email protected]] Sent: 17 December 2009 17:40 To: [email protected]; moviephile Subject: RE: DISTRIBUTED OGSi / REST : HTTP 404 on greetMe example Hi According to http://svn.apache.org/repos/asf/cxf/dosgi/trunk/samples/greeter_rest/impl/src/main/java/org/apache/cxf/dosgi/samples/greeter/impl/rest/Activator.java, one endpoint is published at http://localhost:9090/greeter and the other one (which does not depend on JAX-RS annotations) is at http://localhost:9091/greeter2 Also, the actual interface http://svn.apache.org/repos/asf/cxf/dosgi/trunk/samples/greeter_rest/interface/src/main/java/org/apache/cxf/dosgi/samples/greeter/rest/GreeterService.java is somewhat primitive in that it expects the name be embedded in the URI path component (not in the query), so if you do GET http://localhost:9090/greeter/greeting/Fred GET http://localhost:9091/greeter2/greeting/Fred Then you should get the result back. Additionally, you can run the greeter_rest client the same way you can do it for a greeter demo, the only diff is that the greeter_rest client opens two panels, one for each endpoint Hope it helps, Sergey -----Original Message----- From: moviephile [mailto:[email protected]] Sent: 17 December 2009 17:15 To: [email protected] Subject: DISTRIBUTED OGSi / REST : HTTP 404 on greetMe example Hi, After having sucessfully installed these bundles from this CXF home page : http://cxf.apache.org/distributed-osgi-reference.html [ACTIVE] CXF Distributed OSGi Greeter Rest Demo Interface Bundle (1.2.0.SNAPSHOT) [ACTIVE] Distributed OSGi Greeter Demo Service Rest Implementation Bundle (1.2.0.SNAPSHOT) [ACTIVE] CXF Distributed OSGi Greeter Rest Demo Client Bundle (1.2.0.SNAPSHOT) Question : (I know about SOAP but I'm not familiar with REST...) How should I invoke HTTP GET requests in order to TEST this greeter_rest service ?? => I have tried with no success (HTTP 404) URIs like this : http://localhost:9090/greeter/greeting?name=test Any help will be very appreciated, With thanks, Best regards.
