Questions tagged [gwt-rpc]

Google Web Toolkit - Remote Procedure Calls

Interesting links

622 questions
7
votes
2 answers

gwt serialization policy hosted mode out of sync

When running my GWT application (gwt 2.0.4) in hosted mode, calling RPC methods running on remote Tomcat, I get GWT serialization exception: INFO: GwtRpcEventSrvc: ERROR: The serialization policy file '/84EC7BA65AF8175BAA99B47877FDE163.gwt.rpc' was…
padis
  • 2,314
  • 4
  • 24
  • 30
7
votes
4 answers

RPC Error after GWT 2.3 upgrade

After upgrading to GWT 2.3 some of my RPC services no longer work and fail with "The response could not be deserialized". It seems to happen to services that are returning objects that are use Date objects that are annotated with …
KevMo
  • 5,590
  • 13
  • 57
  • 70
7
votes
2 answers

GWT: Storing Session ID in cookie, and then what?

I'm currently making a site using GWT, being hosted on AppEngine. I'm making it with my own logins that I'm making (I know Google provides something with GWT, but I need my own login system), and I've been trying to figure out sessions for quite a…
Scott
  • 71
  • 1
  • 3
7
votes
1 answer

GWT-RPC and the infamous sporadic "StatusCodeException: 0" exception revisited

My problem is the infamous "StatusCodeException: 0" problem happening when using GWT 2.6.1 when accessing page via subdomain https://sub.site.com/. Now, this happens quite sporadically for one customer using IE11 and I can't reproduce this from…
Yuriy Nakonechnyy
  • 3,742
  • 4
  • 29
  • 41
7
votes
4 answers

How to group gwt-rpc calls?

With DWR it is possible to group together several service calls into one single HTTP request : dwr batch feature This feature is very useful to reduce the latency of an ajax application. Is there a way to do something similar with GWT / GWT-RPC…
Alexandre Victoor
  • 3,104
  • 2
  • 27
  • 27
7
votes
2 answers

GWT Simple RPC use case problem : Code included

I am trying to work out how to send a domain object from the server-side to the client-side using GWT RPC. I've coded a really simple use case that represents the sort of thing I (and others?) need to be able to do but presently can't get to work. I…
Darren
  • 77
  • 3
  • 10
7
votes
2 answers

How to resend a GWT RequestFactory request

Is it possible to resend a RequestFactory transmission? I'd like to do the equivalent of this: How to resend a GWT RPC request when using RequestFactory. It is fairly simple to resend the same payload from a previous request, but I also need to…
Andy King
  • 1,632
  • 2
  • 20
  • 29
6
votes
3 answers

IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser

My GWT Project was working fine but today, after some changes and adding new fetures one async call is not executed. The exception is "This application is out of date, please click the refresh button on your browser." all other async calls are…
NewCodeLearner
  • 738
  • 3
  • 14
  • 38
6
votes
4 answers

Is there a Flex equivalent of GWT-RPC?

Right now a lot of my applications use GWT-RPC for retrieving POJO's from a GWT RemoteService which in turn calls a Web Service (SOAP) to get the data. I am evaluating Flex and didn't really see anything truly analogous to this simple architecture.…
Mike C.
  • 1,035
  • 2
  • 8
  • 13
6
votes
1 answer

How to Use the GWT-RequestFactory in Android SyncAdapter (always getting ValidationTool-Error)

I got a question about the usage of GWT-RequestFactory in Android. As a starting point I used the code from the “Create a AppEngine connected Android-Project”-Wizard (infos:…
Qsi
  • 63
  • 3
6
votes
2 answers

Programmatically refresh a Gwt CellTree

I want to fire the "open root node" event on my current working CellTree, which now has the following behaviour: @Override public NodeInfo getNodeInfo(final T value) { return new DefaultNodeInfo( (value…
Fabio B.
  • 9,138
  • 25
  • 105
  • 177
6
votes
3 answers

GWT test case fail to run: JUnitFatalLaunchException

I am trying to run GWT test from eclipse 3.6 but have stuck with this strange error. The test class 'com.company.demo.smartgwt.RequestBuilderTest' was not found in module 'com.company.demo.smartgwt.module'; no compilation unit for that type was…
MountainRock
  • 594
  • 1
  • 9
  • 24
6
votes
1 answer

Dozer custom converter ID mapping: Object to Long and Long to Object via DozerConverter getParameter

I need help configuring my dozer mapping file. Mainly I would like to know how to get User user obejct to convert to Long userId. Hence map: user >> userId But I have multiple objects such as comment >> commentId or address >> addressId therefor…
MatBanik
  • 26,356
  • 39
  • 116
  • 178
6
votes
1 answer

GWT serialization of a subclass

I have RPC service that returns an object of type GameEvent that extends from Event (abstract). When I get the object on the client side, all the properties inherited from Event (eventId, copyEventId, gameTimeGMT) are set to null whereas on the…
Sydney
  • 11,964
  • 19
  • 90
  • 142
6
votes
4 answers

How to wrap every Callback in one place to improve error handling

Throughout my GWT app there are many different async calls to the server, using many different services. In order to do better error handling I want to wrap all my callbacks so that I can handle exceptions like InvocationExceptions in one place. A…
Niel de Wet
  • 7,806
  • 9
  • 63
  • 100
1 2
3
41 42