hi,

A few additional notes -

The annotated method looks like this:

@Put("json")
public void insertItem(Item myItem){

//insert item into DataStore
}

when running my test client I get the error:

Unable to find a converter for this representation :
[application/x-www-form-
urlencoded]

When I try to remove the method parameter I can breakpoint inside the method
which means Restlet is fails to translate the Form Entity into my "Item"
class.

Maybe the problem is in the way I build my client post object? How does
Restlet maps the json to the class? Do I need to write the json
representation of my client Object using some convention like same
getter/setter names and maybe full package name?

Thanks,

Chen.

On Mon, Apr 12, 2010 at 23:05, Chen Bekor <[email protected]> wrote:

> hi,
>
> I'm using the 2.0 Snapshot (2010-04-09) for the GAE distro
>
>
>
> On Mon, Apr 12, 2010 at 22:36, Thierry Boileau <
> [email protected]> wrote:
>
>> Hello Chen,
>>
>> could you tell us what release of the Restlet framework are you using?
>>
>> Best regards,
>> Thierry Boileau
>>
>> ------------------------------------------------------
>>
>> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2579096
>>
>
>

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

Reply via email to