• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RESTful web services with JBoss 5.1.0: 405 Method not allowed on PUT ressource

 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic