i just saw, that internally an exception is thrown: Internal Connector Error (1002) - The URL http://localhost:1234/messages is invalid or violates the same-origin security restriction
this seems to be the problem. it might not be specific to restlet, anyways maybe you know a way to bypass the SOP restricition using restless gwt? -- regarding my environment: there is an apache cxf RESTful webservice started by a simple java application which publishes a "message" service at http://localhost:1234/messages. using firefox poster i can veryfy, that GET http:localhost:1234/messages would give a list of messages in xml format. now i am trying to build a gwt client which accesses the service. my platform is ubuntu 9.10 where i develop under eclipse. thanks for your help and regards, josef > 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=2423789

