Hi David, There should be a way to do what you want. The XML provider is just calling into the JAXB serialization APIs, so there's not much that's happening there. It's really an issue of getting the right things in place for JAXB to serialize this properly.
What does your bean look like? Are you using field or method level access
to pull the data?
-Nick
David Calavera
<david.calav...@g
mail.com> To
[email protected]
05/17/2010 09:54 cc
AM
Subject
how to avoid serialize some
Please respond to elements of a class?
wink-u...@incubat
or.apache.org
Hi,
I'm working in a rest api and trying to avoid serialize some fields into a
class I've seen the provider is not working properly, I think.
I'm using the annotation @XmlTransient to skip those fields but the
provider stills serialize them.
Is there another way to do this? perhaps is a bug in the Xml provider? I'm
using the default one.
Cheers<<inline: graycol.gif>>
<<inline: pic26155.gif>>
<<inline: ecblank.gif>>
