Hi,
I'm fairly new to using restlet and have read through the book which I 
purchased through Manning. So far have had good experience with it but have 
some issues with Android.

I am trying to post a serialized array of objects to the server from the 
android device.. I'm using the annotation method with client.wrap to convert 
the server resource. 

Whenever I post an array of objects it sends through what looks like a heap of 
junk containing serialization errors and in some sort of java raw format 
instead of JSON format which I'm after and the server side obviously can't deal 
with it. I'm not sure if it's an issue with the jackson converter or with 
restlet itself? Has anyone managed to do this? 

I can receive the representation from the server which is sent as an array 
perfectly fine from the android device.
I have had to change the way the program works for the moment and post each 
object separately but it takes quite a long time to do multiple posts. As I 
said, I'm very new to this as well as android development so if there's another 
way to skin the cat, please let me know :)

Thanks,
Sean

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2803177

Reply via email to