The following can cause issues with de/serialization:
||LinkedList<LinkedList<String>>
maybe try something similar to:
||
||||String[] createeventServer(LinkedList<LinkedList<String>> input) throws IllegalArgumentException;
||class List {
|| ||||LinkedList<||Sublist> list;
}
class Sublist {
LinkedList<String> sublist;
}
||
On 04/08/2014 04:32 PM, Pippo Baudone wrote:
i've tried it but with no success
Il giorno martedì 8 aprile 2014 21:38:44 UTC+2, Michael Joyner ha
scritto:
Try wrapping you data objects in POJO's and not passing your data
as raw arrays and see if that helps.
-Mike
On 04/08/2014 03:33 PM, Pippo Baudone wrote:
i am in this situation:
|
|
@RemoteServiceRelativePath("create_event")publicinterfaceCreateEventServiceextendsRemoteService{String[]createeventServer(LinkedList<LinkedList<String>>input)throwsIllegalArgumentException;}
|
|
publicinterfaceCreateEventServiceAsync{voidcreateeventServer(LinkedList<LinkedList<String>>input,AsyncCallback<String[]>callback)throwsIllegalArgumentException;}
|
|
publicclassCreateEventServiceImplextendsRemoteServiceServletimplementsCreateEventService{publicString[]createeventServer(LinkedList<LinkedList<String>>input)throwsIllegalArgumentException{String[]arr
=newString[2];...returnarr;}}
|
|
Why does this cause error "*The response could not be deserialized*"?
p.s. I have tried to execute the project with app engine and
without it, but the problem is the same.
--
You received this message because you are subscribed to the
Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected]
<javascript:>.
To post to this group, send email to
[email protected] <javascript:>.
Visit this group at
http://groups.google.com/group/google-web-toolkit
<http://groups.google.com/group/google-web-toolkit>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google
Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google
Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.