users@jersey.java.net

Collections and JAXB support

From: Tim Williams <williamstw_at_gmail.com>
Date: Wed, 25 Mar 2009 09:58:40 -0400

Writing a collection out works fine if I return the collection
directly as in the JAXB examples. However, if I use
Response.ok(collection).build() I get the dreaded 'no message body
writer' error. Ultimately, I'm just using the Response object because
I need to write cache-control headers, so if there's another way to do
that while returning the collection, I'd be ok with that too.
Thanks,
--tim