[jboss-user] [JBossWS] - Null Vlaues & Serialization

zeeshan.javeed do-not-reply at jboss.com
Fri Jan 25 08:55:13 EST 2008


Hi, 
Nobody is responding here :(
My new problem is 
during serialization jaxb ingonres the elment which are Null. 

  | @XmlElement(nillable=true, required=true )
  |     private MyValue[] getMyValues = null;
  | 

Now if getMyValues is null, in soap message this element is simply ignored. and My requirement is that it should atleast be there but without any value. like <getMyValues\>

I have tried different annotations but seems nothing is working... Can anyone help me out ...

Regards, 
Zeeshan 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123473#4123473

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123473



More information about the jboss-user mailing list