thanks I found the problem. I found that if I marshal and unmarshal my
classes I will get meaning full error messages where as cxf just says
illegal annotation. thanks.
jgardner16 wrote:
>
> Hi I am sorry if this has been answered I can't find a solution. But if I
> have a class
>
> public class Customer() {
>
> private List<EmailAddress> email;
> }
>
> So I cannot get this to work. I have tried @XmlWrapper @XmlElement and
> many others but can't get it to work. How can I get this work work class
> EmailAddresss looks like
>
> public class EmailAddress() {
> private String email;
> private String otheremail;
> }
>
> I am using restful web service and just want to pass this information to
> the client. Should be pretty easy I would think but can't get it working.
>
>
--
View this message in context:
http://www.nabble.com/JAXB-Problem-tp23969581p23989971.html
Sent from the cxf-user mailing list archive at Nabble.com.