Good evening everyone,
What do I need to make from GWT a simple (GET and PUT) request to a
non-localhost service without having to implement any server side code? The
following example does not work. (Probably becouse of the Same Origin
Policy):
ClientResource r = new
ClientResource("http://xxx.xxx.xxx.xxx:pppp/services/my_service");
r.setOnReceived(new Uniform() {
public void handle(Request request, Response response) {
System.out.println(response.getStatus());
}
});
r.get();
Cheers,
ab
--
View this message in context:
http://n2.nabble.com/GWT-ClientResource-Same-Origin-Policy-SOP-tp4619686p4619686.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2451059