maybe i have to add, that i am using eclipse with google plugin for eclipse.
first, i imported the RestletGWTSimpleExample project and then enabled gwt functionality in project settings, activating google app engine + web toolkit.
to run, i first start the server using launch as java application on the TestServer.java.
http://localhost:8888/ping works
now i start the gwt client in hosted mode. when i click the "click-me" button, the client would fail at line 124:
client.get("
http://localhost:8888/ping", new Callback() {
@Override
public void onEvent(Request request, Response response) {
button.setText(response.getEntity().getText());
}
});
i can repeat this and would always receive the following log output:
Starting the HTTP client
Error while handling an HTTP client call
thanks, josef
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2414761