Hi,
the shown piece of code does not look wrong.
However, I missed the constructor section. The must be one default
constructor (zero parameters), either implied or explicit.
http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes
The er
You can still keep your multi-argument constructor, you just also must
have a zero arg.
On Apr 22, 7:53 pm, Adam35413 wrote:
> So it appears that the issue is User did not have a 0 argument
> constructor. I removed the constructor and everything appears to be
> working. I guess I will just have
So it appears that the issue is User did not have a 0 argument
constructor. I removed the constructor and everything appears to be
working. I guess I will just have to set all of the members manually
with the setters. Not a problem, just several more lines of code.
Thanks!
On Apr 22, 8:24 pm,
0 arg constructor? Return value of the RPC uses generics ala
List? All I can think of, you might also look in the rpc log
file which is sometimes slightly more helpful. If you can't figure
out, post the UserService and UserServiceAsync calls and maybe the
constructors as well.
BTW no need to us
I am trying to implement a very simple AsyncCallback RPC system, and I
believe I have 99% of it correct. I have the UserService and
UserServiceAsync on the client side, and the UserServiceImpl on the
server side. Through debugging, it appears that the only current
issue is the error message I get