Have you tried enabling debugging in the browser, to see if any JS
exceptions are being thrown?

On Aug 21, 7:01 pm, Arkady <[email protected]> wrote:
> Actually the request is never posted and therefore never arrives to
> the impl class. I suspect that the problem is with the serialization
> of the MyItem class.
>
> On Aug 20, 5:42 pm, tolga ozdemir <[email protected]> wrote:
>
> > Can you post the method of your impl class here to investigate the
> > problem? I do not know yet but maybe my sample helps you to compare
> > your code as well..
>
> >http://www.tolgaozdemir.net/2009/08/19/gwt-101-lessons-2-gwt-17-with-...
>
> > On Aug 20, 11:37 pm, Arkady <[email protected]> wrote:
>
> > > I am having problem with GWT RPC in the following scenario.
>
> > > I have a service:
>
> > > public interface MyService extends RemoteService {
>
> > >       public MyResult getMyResult(MyParam param);
>
> > > }
>
> > > with corresponding Async version and Impl version. MyParam class
> > > contains ArrayList<MyItem>:
>
> > > public class MyParam implements Serializable {
> > >    private ArrayList<MyItem> items;
>
> > >    public MyParam() {
>
> > >    }
>
> > >    public MyParam(ArrayList<MyItem> items) {
> > >          this.items = items;
> > >    }
>
> > >    public ArrayList<MyItem> getItems() {
> > >          return items;
> > >    }
>
> > >    public void setItems(ArrayList<MyItem> items) {
> > >          this.items = items;
> > >    }
>
> > > }
>
> > > public class MyItem implements Serializable {
>
> > > }
>
> > > When I invoke getMyResult(new MyParam(new ArrayList<MyItem>()))
> > > everything works fine and the execution reaches the Impl class on the
> > > server. But if I invoke getMyResult() with non-empty list of items the
> > > request is never posted to the server and there is no exception in the
> > > log.
>
> > > Any help will be greatly appreciated.
>
> > > Thanks.- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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