users@glassfish.java.net

Re: HTTP 405 error

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 22 Jun 2010 12:31:55 -0700

On Jun 22, 2010, at 12:20 PM, Marcus Veloso wrote:

> Hi,
>
> I'm using glassfish v3 on Ubuntu 9.04. WS were developed using
> netbeans 6.8.
> I'm able to call 3 methods (GET, POST and PUT) from localhost (ex:
> using RestClient Firefox plugin), but I can't call POST one
> from a remote machine, due an error:
> "The specified HTTP method is not allowed for the requested resource
> ()."
>
> Any ideas?
>

Are you using JAX-RS?

If so can you share the root resource class with the methods annotated
with @GET etc?

Paul.