users@jersey.java.net

Re: Returning an abstract class through a Jersey restful service

From: schong <dr.steve.chong_at_gmail.com>
Date: Sun, 11 Apr 2010 02:55:04 -0800 (PST)

Thanks Moises, I've used the @XmlTransient and it works great. The problem
for me is that I'm trying to return a common XML format for two different
Entity types (GMDevice and EMDevice). I think that I'm either going to have
to put annotations into each Entity, or have a separate annotated class
which I convert my entities into before returning to get the XML that I
want.
-- 
View this message in context: http://n2.nabble.com/Returning-an-abstract-class-through-a-Jersey-restful-service-tp4876155p4885146.html
Sent from the Jersey mailing list archive at Nabble.com.