Help to write a generic RESTFULL proxy in GWT

I have a REST backend system and have a GWT frontend.

So they are on different IP addresses.

I use JSONP to read the data and that works fine.

However, I cant use JSONP to modify data (I think), so I want to write a generic proxy server RDP class in which I can pass:

1. The URL to call, eg [url removed, login to view]<id>

2. A string which containst the json object. This needs to be added to the body.

The proxy should simply call the REST service via posting the data.


- an OK shhould be returned


- an exception should be thrown.

I will paste in a samlple server rpc I created which did not work.

If you know how to do this, then I will be a happy man...

Below is the part of the sample I tried, but failed with:


package [url removed, login to view];

public class RESTProxyImpl extends RemoteServiceServlet implements RESTProxy {

private String resultStr;

public String postData(String jsonValue, String url)

throws Exception {

// call rest service to post data here

// see [url removed, login to view]

// To getcollection, so you have some json data see

// [url removed, login to view]

return "OK";



Habilidades: Java, Javascript, PHP, Arquitetura de software, Teste de Software, Hospedagem Web, Gestão de Site , Teste de Website

Veja mais: restfull proxy, rpc http proxy, i want to know how to write, how to write a, how to string, how can i write a, help to write, gwt service, gwt rpc service, gwt-rpc, i want to write, write a, sample json data, rpc, rest service, proxy server, proxy in, java proxy, java json, java gwt, GWT, rest service data, format string http post, system format java, java rdp server

Acerca do Empregador:
( 131 comentários ) Johannesburg, South Africa

ID do Projeto: #3041666

Concedido a:


See private message.

$255 USD em 5 dias
(5 Comentários)

2 freelancers estão ofertando em média $213 para esse trabalho


See private message.

$170 USD in 5 dias
(3 Comentários)