Hi, I had a hard time last week with probably a bug. I implemented a server resource and used @Get and @Post annotations for two different methods. I used RestClient tool to test them. Both of them were working good the first time. But If I first called the resource with Get method, all the future calls were dispatched to the Get method even if the method was Put or Post or any other method. The method name in the request was correct but the method with @Get annotation was still run even if I used the Post method to call the server. The same thing happened when I first called the method with @post annotation. After the first call with Post method, all the future calls were executing the method with the @post annotation. I searched a lot and didn't find any solution. Finally I decided to override get and post methods and don't use annotations. And it worked. So the problem is with annotations. It is too awkward though. Because I wanted to have my own method names that are more meaningful for me but now I should use post and get methods. Does anybody know if there is a way to make annotations to work? FYI I'm using 2.0.4 version
-- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/hard-time-to-work-with-annotations-tp6521864p6521864.html Sent from the Restlet Discuss mailing list archive at Nabble.com. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2778224

