Hi
My requirement is as below.
1. I have a DTO  as below with setters and getters for the same
 package com.gwt.sample.client.data

 public class TempDTO implements IsSerializable
 {
   private String name;
   private String condition;
 }

2. My RPC stuff is as below
   package com.gwt.sample.client
   public interface MyService extends RemoteService
   {
     List getNames();
   }

  package com.gwt.sample.client
  public interface MyServiceAsync
  {
    void getNames(AsyncCallback async);
  }

3. Servlet is
  public class MyServlet extends RemoteServiceServlet implements
MyService
  {
    public List getNames()
    {
      List rs = new ArrayList();
      TempDTO dto1 = new TempDTO();
      dto1.setName("A1");
      dto1.setCondition("Set");
      rs.add(dto1);
      return rs;
    }
  }

When made a request to this MyServlet I am getting strange error in
browser "Could not complete the operation due to error c00ce514
number:"
This error message is (throwable.getMessage()) is displaying in
onFailure() method.

The same code is working fine if I pass List of strings. The problem
is only with List of DTOs.

Please, can anyone help me.

Thansk,
Cris


--~--~---------~--~----~------------~-------~--~----~
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