Serialization issue for type Integer
Closed this issue · 2 comments
GoogleCodeExporter commented
Copy of
http://stackoverflow.com/questions/20578362/gwt-syncproxy-serialization-issue-fo
r-type-integer
I'm using GWT Syncproxy 0.4 to call some java methods on a remote servlet. It
usually works pretty well, however I'm having problems calling a method with an
Integer argument. This is the HTTP request that Syncproxy sends:
6|0|6|<host>|FDE712EF062AF9098BBDBEB1CEF724E6|<serviceURL>|<methodName>|java.lang.Integer|java.lang.Integer/3438268394|1|2|3|4|1|5|6|1985154|
which however returns an exception from the server. What the server expects is
instead:
6|0|5|<host>|FDE712EF062AF9098BBDBEB1CEF724E6|<serviceURL>|<methodName>|java.lang.Integer/3438268394|1|2|3|4|1|5|5|1985154|
Does anybody know how to fix this? I'm using gwt version 2.1.1 (I cannot change
it since the server code is based on this version, in particular it uses RPC
protocol 6). Thank you for any help.
Original issue reported on code.google.com by beppeben...@gmail.com
on 14 Dec 2013 at 3:25
GoogleCodeExporter commented
It's always been a pain trying to step through the GWT-RPC syntax. Can you post
what the exception thrown was as well verify your client (Java standalone or
Android)? Also just to verify, if Java standalone, that you've linked the same
GWT-2.x in your client source as is running on your server.
Original comment by p.pr...@blueesoteric.com
on 11 Mar 2014 at 4:13
- Changed state: Pending
GoogleCodeExporter commented
No further information provided, closing this issue. If you are able to provide
additional information, please open a new issue.
Original comment by p.pr...@blueesoteric.com
on 25 Dec 2014 at 3:07
- Changed state: Stale