Hello folks,

I've been trying to solve this problem by looking at related
discussions, but I'm not able to do it.
I developed an application with gwt which runs in hosted and web mode
but fails to run when compiled
and set up for tomcat.

I'm obtaining a "Invocation Exception" from a RPC call from my client
to a servlet when trying to send my serializable type Test:
-----------
public void onSaveTest(Test test) {
                service.saveTest(test,new SaveTestCallback());
        }

The following is the content of the class Test.java:
-------------
package prova2.client;

import com.google.gwt.user.client.rpc.IsSerializable;

public class Test implements IsSerializable {
    public int error;
        public String testName;
    public TestQuery[] queries;
        public String message;
        public Boolean exception;

}
---------
Eeverythin works fine if I try to send a type that is serializable by
default, such as "int", so it looks
like the servlet is not anymore sure of what types are serializable. I
think it also has to do with the *.gwt.rpc file but I'm not sure about
how this works.

Can anybody help me with this? I'm quite newbie:(

--

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


Reply via email to