Do you get the same 415 error when you go to /connection in your browser? (If 
so, then the problem is in your ServiceConnection class, rather then in your 
Android code).  

Also, in my Android code, I don't wrap the resource, but do the call directly 
on the ClientResource class, as in:

Engine.getInstance().getRegisteredConverters().add(0, new JacksonConverter());
ClientResource commitsClient = new          ClientResource(BASE_URL + 
"commitments/");
commitsClient.setEntityBuffering(true);  
Representation rep = commitsClient.post(commitDTO);

Good luck!
RB

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

Reply via email to