Hi all,

We have started up with GWT 2.0 recently and am coming across a
strange problem regarding RPC calls.

We have one class which makes 2 RPC calls to the server through the
same service. We have created Syncrhonys and Asynchronys variants of
the same class which handles the request and a server side
implementation of the Synchronys version.

My two methods are getUsers(), and getGroups()

in getUsers()
I make the call to the server and pass it a
AsyncCallBack<List<UserDTO>>
and override the onSuccess method

in getGroups()
I make the call to the server and pass it a
AsyncCallBack<List<GroupDTO>>
and override the onSuccess method as well

the problem I am having is that sometimes the onSuccess function in
getUsers will be called (in response to the server retrieving
information for me) and it will receive a <List<GroupDTO>> which is
the wrong object. This only happens probably one out of every 5 times
and I cannot figure out why. Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to