users@jersey.java.net

complex types in Colelctions

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Sun, 26 Apr 2009 11:36:58 +0200

I tried the JAXB example from Jersey and it works fine, but: if I try
the same code using a complex type instead of the simple type defined
in the original code, it start to fail...

so, instead of:

@XmlRootElement
public class JAXBXmlRootElement {
        public String value;
... }

how about:

@XmlRootElement
public class JAXBXmlRootElement {
        public String value;

        public JAXBXmlType type;
... }

??