0 Replies Latest reply on Jan 25, 2008 8:55 AM by Zeeshan Javeed

    Null Vlaues & Serialization

    Zeeshan Javeed Newbie

      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