Try adding one more annotation - @Produces - Here's a snippet from one
of my classes.

        @GET
        @Produces(MediaType.APPLICATION_JSON)
        public Response getApplications()

-- dims

On Mon, Nov 7, 2011 at 8:00 AM, Terry Birch <[email protected]> wrote:
> Raymond,
> Changing the annotation from a @POST to a @GET causes the service to fail
> with a 415 Unsupported Media Type. Is there some other change that must be
> made in addition to changing from POST to GET?
> Thanks
>
> --
> View this message in context: 
> http://apache-wink-users.3471013.n2.nabble.com/question-on-using-get-request-with-apache-wink-tp6968695p6970265.html
> Sent from the Apache Wink Users mailing list archive at Nabble.com.
>



-- 
Davanum Srinivas :: http://davanum.wordpress.com

Reply via email to