Hi,

Many thanks for your quite clear and prompt response Sergey,

Best regards,

Chrsitophe.


> Message du 17/12/09 18:50
> De : "Sergey Beryozkin" 
> A : [email protected]
> Copie à : 
> Objet : RE: DISTRIBUTED OGSi / REST : HTTP 404 on greetMe example
> 
> 
> Sorry for the noise, it should be
> 
> GET http://localhost:9090/greeter/greeter/greeting/Fred
> GET http://localhost:9091/greeter2/greeter/greeting/Fred
> 
> I'll probably update for 1.2 for more readable URIs be supported
> 
> 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.
> 
> 
> 
> 

Reply via email to