Hi everybody! I have two weeks trying to implement RequestFactory, I've done my data classes model, locators, proxies, etc, but I simply can't get it to work. I've tried all configurations suggested on Starting With Requst Factory Page, but I still get the same problem.
When the line request.fire(new Receiver<Myobject>() {... It simply goes to public void onFailure(ServerFailure error) {... method. and never reaches the server side. All error detail is a "Server Error: null" (absolutelly nothing else) It's really important to me make ir work as quickly as posible, so, a quick answer will be too much appreciated. Some details: // MyEntityProxy entity = context.create(EspacioCorporativoProxy.class); // MyValue administrador = context.create(UsuarioProxy.class); // // some set calls // // Request<SharedTipe> request = context.createMyEntity(entity); // request.fire(new Receiver<SharedTipe>() { // // @Override // public void onFailure(ServerFailure error) { // ... error handing // // try { // super.onFailure(error); // } catch (Throwable t) { // GWT.getUncaughtExceptionHandler().onUncaughtException(t); // } // } // // @Override // public void onSuccess(ResultadoRegistro response) { // ... success handing // ... never reached, so, doesn't mean. // } // }); public class MyService { @ServiceMethod public SharedTipe createMyEntity(MyEntity entity) { PersistenceAccess() g = new PersistenceAccess(); SharedTipe result = g.createMyEntity(entity); //g saves the entity in the datastorage an return a flag return result; } } @ProxyForName(value = "com.xxx.app.server.domain.MyEntity", locator = "com.xxx.app.server.locator.MyEntityLocator") public interface EspacioCorporativoProxy extends EntityProxy { ... normal getters and setters } -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.