|
From: Bill B. <bb...@re...> - 2008-06-11 17:56:07
|
If I wrote a provider for (un)marshalling Collections of JAXB objects
how should the output look?
@GET
@ProduceMime("application/xml")
List<Foo> get();
Output:
<foo></foo>
<foo></foo>
The problem with this approach is that the browser gives you an error
and doesn't display the XML.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
|