| Author |
RESTful web services with JBoss 5.1.0: 405 Method not allowed on PUT ressource
|
Celinio Fernandes
Ranch Hand
Joined: Jun 28, 2003
Posts: 546
|
|
Hi,
I am playing around with Jersey implementation of the REST API, with JBoss 5.1.0 as a server.
I got some RESTful web services working but only for GET HTTP methods. I have tried PUT and POST, I get the same error : 405 Method not allowed
I have tried the most simple method ever :
I invoke it using the URL :
http://localhost:8085/MyWebApp/MAJ
I get the error :
405 Method not allowed
how come ? It works fine with the @GET method.
Is there a setting to modify in JBoss AS to make it work ?
It does not work with @PUT, @POST ...
Thanks for helping.
|
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCBCD 5
Visit my blog
|
 |
Celinio Fernandes
Ranch Hand
Joined: Jun 28, 2003
Posts: 546
|
|
More information regarding my previous question:
I modified the web.xml file to allow any user to call the HTTP methods but it did not change anything :
Any idea ? Thanks
|
 |
Maya sekar
Ranch Hand
Joined: Sep 22, 2011
Posts: 70
|
|
Hi,
I have the same problem. My GET Methods work fine but POST throws a 405 Method not allowed. Have you resolved it? Please do help......
Many thanks
|
 |
 |
|
|
subject: RESTful web services with JBoss 5.1.0: 405 Method not allowed on PUT ressource
|
|
|