Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5975471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:05:24+00:00 2026-05-22T21:05:24+00:00

I have a method that returns a list of serializable objects, I make an

  • 0

I have a method that returns a list of serializable objects, I make an RPC call to this method and everything went well until the deserialization process: I received the following message: “The response could not be deserialized”

Note: Here is my gwt-rpc response string:

 / / OK [0,2768,3,2,0,2764,3,2,0,2761,3,2,0,2754,3,2,0,2750 , 3,2,0,2610,3,2,0,2606,3,2,0,2603,3,2,0,2600,3,2,9,1 ["java.util.ArrayList/3821976829 "" myPackage.MyEntity/845101117 "," java.lang.Integer/3438268394 "], 0.7]

DTO

public class MyEntity implements Serializable,IsSerializable
{
   private static final long serialVersionUID = -9032157988566853424L;

   public MyEntity ()
   {
      super();
   }

   private Integer _entityId; 


   private String _name;

   public Integer getEntityId()
   {
      return _entityId;
   }

   public void setEntityId(Integer entityId)
   {
      this._entityId = entityId;
   }

   public String getName()
   {
      return _name;
   }

   public void setName(String _name)
   {
      this._name = _name;
   }

}

Interfaces

@RemoteServiceRelativePath("ContributorService.rpc")
public interface ContributorService extends RemoteService
{
   ArrayList<MyEntity> myMethod(Arg arg);
}

public interface ContributorServiceAsync
    {

       void myMethod(Arg arg, AsyncCallback<ArrayList<MyEntity>> callback);

    }

Server Implementation:

@SuppressWarnings("serial")
public class ContributorServiceImpl extends RemoteServiceServlet implements ContributorService
{

   @Override
   public ArrayList<MyEntity> myMethod(Arg arg)
   {
      ArrayList<MyEntity> myList = new ArrayList<MyEntity>();
MyEntity myEntity=new MyEntity();
      //code...
myList .add(myEntity);
      return myList;
   }
}

Thanks for your help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:05:24+00:00Added an answer on May 22, 2026 at 9:05 pm

    Thank you to everyone for the help
    it was a stupid mistake that I still can not understand.
    I changed GWT sdk and the program worked, then I used the old SDK to ensure that the problem emanates from the sdk but the surprise the program still works ‘:(

    I understand nothing of what is past but the more important that my application works 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a RPC service with the following method: public List<Serializable> myMethod(TransactionCall call) {...}
I have class method that returns a list of employees that I can iterate
I have a method that returns a list of type string. I want to
Scenario I have a method that returns a list of processes using WMI. If
I have a method that returns a list of roles, I want to put
Let's say I have a method that returns a list of customers and as
Suppose I have a method that returns an array or list or some other
I have an ASP.NET webservice method that returns a generics list (List'<'Construct>) serialized as
Can I have a webservice method that returns List<List<MyObject>> in .net?
I have a static method that returns a list of a type. In order

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.