users@jersey.java.net

Re: Unable to put/post payloads?

From: danomano <dshopkins_at_earthlink.net>
Date: Mon, 7 Jun 2010 12:57:35 -0700 (PDT)

some more investigation I found this "works":
    @PUT
    @Path("/{id}")
    public void create(JAXBElement<FOOBAR> foobar, @PathParam("id") String
id){
        System.out.println("hello");
        FOOBAR fb = foobar.getValue();
    }

why is it making me wrap the payload with the JAXBElement? what am I
missing?

thanx

-- 
View this message in context: http://jersey.576304.n2.nabble.com/Unable-to-put-post-payloads-tp5150592p5150828.html
Sent from the Jersey mailing list archive at Nabble.com.