Hi,

I'm having trouble getting the version 2.1 serialization sample Android
client working. It works when I use the 2.0.8 version of Restlet for
Android, but not when I use the 2.1M5 (or M4) version, regardless of whether
I use
cr.setRequestEntityBuffering(true)
or whether I comment it out (I have to comment it out when using 2.0, but
I've tried it both ways with 2.1). 

When using the 2.1 version, the android client hangs in run(), at
contact = resource.retrieve();

As far as I can tell, the android client is not sending the request when
using 2.1, or if it is, it's not getting as far as
ContactServerResource.retrieve() in the GAE service, because if I run it
against my local GAE  service, I can put a breakpoint there that gets hit
when the android client uses 2.0, but doesn't get hit when the android
client uses 2.1.

I'm running on Windows 7, and also that I see the same behavior when running
against the production sample at
http://restlet-example-serialization.appspot.com/contacts/123 (that is, it
works when built with 2.0, but hangs with 2.1). So this rules out my local
GAE sample service as a potential culprit.

Any suggestions would be greatly appreciated!

-Andy

--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/Sample-Serlialization-Android-client-works-with-2-0-but-not-2-1-tp6520599p6520599.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

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

Reply via email to