Hello Sultan, just in order to complete Tim's answer. I've sent you a sample project (in another thread), that from what I see is very similar to your sample code posted in this thread. This sample project contains depends only on the core module of the Restlet framework, which provides a default converter that is able to generate representations of resources using the java serialization. Such representations are binary and have the following content-type : "application/x-java-serialized-object". You can add more converters, that support other kind of representations. For example, representations based on textual formats such as json. The Jackson-based extension (org.restlet.ext.jackson.jar) is especially dedicated to handle such representations, and is able to serialize/deserialize instances into json format. If you want to add this ability to your application, just complete its classpath with the extension jar (org.restlet.ext.jackson.jar) and the jars of its dependencies (located in the lib/org.codehaus.jackson_<version> directory of Restlet distributions). There is also another extension called "json" that is also available on the android edition of the Restlet framework.
The client code of this sample project works without any changes, but it exchanges json representations with the server code, instead of Java serialized ones. The magic relies on the "content-type" of the exchanged representations. It helps to choose the right converter (the one provided by the Jackson extension, the default converter, etc). Having said that, your problem may be linked with the fact that your are issuing calls from Android, I check that. Best regards, Thierry Boileau Thank you very much. Now I began to understand. If I have questions, I'll > write more > > -- > View this message in context: > http://restlet-discuss.1400322.n2.nabble.com/How-send-object-from-client-to-server-tp7451974p7453312.html > Sent from the Restlet Discuss mailing list archive at Nabble.com. > > ------------------------------------------------------ > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2946901 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2947261

