Hi,

that's fine! I didn't notice that the @Get and @Delete methods where using
parameters.
In the Restlet framework, the parameter correspond to the entity of the
request. The other "parameters" located in the path or the query of the
URIs are, well, located in the URI and are part of the identification of
the resource.

Best regards,
Thierry Boileau

The problem is finally resolved!
> As i mentioned before in the previous release it was working, but after
> upgrading the app to the new Android platform and foundations, it stopped
> working. I didn't mention it, but only one method works
>
> @Put
> public void store(SafeNote note);
> Two other method are not working where i tried to send parameter.
>
> So, the solution was in interface class to remove parameter
> @Get
> public NoteList retrieve(); // see the original code in question.
> @Delete
> public void remove();  // see the original code in question.
>
>
> Second place to fix is this method implementation invocation: noteList =
> noteResource.retrieve(); // since i send parameter using URL template.(Same
> fix is for delete method).
>
> P.S. Thank you Thierry for your attention
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3029139
>

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

Reply via email to