hello, I am extremely sorry to resubmit this.
My client is posing a problem when it finds a <item xsi:nil="true"/> at the end of each array. Infact, I populate 15 records and the last one is chopped off and comes as <item xsi:nil="true"/> hence it is giving me the null pointer exception at the client when it try to reads the 15th record from the array. I tried setting the "axis.sendMinimizedElements" to false in the global configuration but it does not supress this element. I came to know that serialize() function in SerializationContext uses thes sendNull flag and it is set to true. Can somebody please tell me how to disble the flag( sendNull=false) so that <item xsi:nil="true"/> does not appear.. Please advise thanks jinesh p.s. I am returning Publication array that contains Person array and it generates <item xsi:nil="true"/> for each Person array inside Publication array and one at the end of Publciation array ===== ----------------------------------------------------------------- Jinesh Varia Graduate Student, Information Systems Pennsylvania State University Email: [EMAIL PROTECTED] ----------------------------------------------------------------- 'Self is the author of its actions.' __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com