8 Replies Latest reply on Dec 15, 2009 8:28 AM by longbeach

    [JBoss 5.1.0 GA and Jersey (REST Web Service)]  GET : 405 Me

    longbeach

      Hi,
      I am developping a simple RESTful web service :

      @PUT
       @Path("/MAJ")
       @Consumes("text/plain")
      
       public void putBlabla() {
      
       log.info("Body of the method);
      
       }
      


      I invoke it using the URL :
      http://localhost:8085/MyWebApp/MAJ

      I get the error :
      405 Method not allowed

      how come ? It works 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.