Error in returning a list on Get Method

2011-05-27 Thread lambda daku
Hi I have a GET method, which on a request performs some database operation as a result returns a list of records, which are then converted into a list of type JSONObject. the calling code: ClientResource.get("/some_query_params") I get 500 - internal error as a response along with the following

RE: Re: org.restlet.lib.com.google.protobuf

2011-05-27 Thread Ishaaq Chandy
Thanks Thierry! Got a follow up question now though. I was looking at documentation at http://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/299-restlet.html, trying to figure out how to ensure that my protobuf based converter/representation is used by my Client/ServerResource classes. However

GWT & Java SE clients work for First Application (2.1M4) but not Android

2011-05-27 Thread Orville
Hello, I have not successfully deployed using Restlet/GAE yet so am still a newbie. I have been able to get the GWT and Java SE clients to access the GAE server but when I try to use Android, the following message appears: Cannot get the contact due to: Internal Connector Error When GAE run

Upload an image to GAE

2011-05-27 Thread Michael Kaye
There's a very good description of how to upload and store an image on GAE using a regular HttpServlet at http://stackoverflow.com/questions/1513603/how-to-upload-and-store-an-image-with-google-app-engine-java . How can this be adapted to a restlet... e.g. @Override public Representatio