Hi Stephan,
I guess you meant with "parameter" a @QueryParam annotated variable? I tried so
and added something like this:
public String createBlog(@DefaultValue("me") @QueryParam("alias") String alias)
{...}
But I still get the same error 405. Funnily enough the first post request is
successful but the parameters I send with are just ignored and the alias
variable is set to the default value. Sending the POST request a second time or
more often I get the 405.
The reason might be that the parameters are not parsed correctly. I followed
you hint and debugged everything. And I guess there is something wrong within
the Restlet/Jax-R. The parameter I send with my request are just put in front
of HTTP method. So the resource cannot be found. With the following link you
can see a screenshot from the debugger window. The highlighted line might be a
bug in the framework?! http://matthias.wilkau-hasslau.net/restlet_post.png So
you can see that the parameter "m" with its value "blogId" is set in front of
the POST. Is this supposed to be like that?
Can you reproduce it or do you have a running version of a Restlet application
with Jax-Rs resources that you could send me? So, if the mistake is on my side
I could figure it out by my own?
Thanks a lot for the support.
Matthias
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2667778