Hello josef, what is the status code of the response inside the "onReceived" event manager?
>is a restlet gwt client intended to be used with a restlet gwt server >implementation only? Not at all. The server part could be a simple servlet based application. could you describe your environment? and maybe send a reproductible test case? Best regards, Thierry Boileau > hello thierry, > > thanks, i just tested the current example code and ... it worked!! ;) > > maybe it is because this time i didn't use the ant-script (it is missing this > time), but directly imported the eclipse project file. > > well unfortunately i ran into troubles again. > on the server-side i am using the JAX-RS features of the apache cxf framework > to publish my RESTful services. say that my service runs at > http://localhost:1234/messages > > i tried to run a simple get-request on that url using > ClientResource r = new ClientResource("http://localhost:1234/messages"); > r.setOnReceived(new Uniform() { > public void handle(Request request, Response response) { > ... > } > r.get(MediaType.APPLICATION_XML); > > my service won't be invoked, the handler method neither, nor do i receive any > log output... > > is a restlet gwt client intended to be used with a restlet gwt server > implementation only, so accessing my cxf services doesn't work by definition? > > or is the problem that i can't access my service because of running gwt in > hosted mode and trying to access a restful service on localhost outside of > the gwt hosted scope? > > thanks for your hints. > > josef > > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2423775

