Hi,
  In my xsd's the element is declared as nillable=true

  While in serverside, i am building the response from the database. if this 
element is not having the data in the database, i am getting  IOException. Non 
nillable element

      Each time do i need to check from the database whether the value is null 
or not if so then i need to manually set the element.
  like the following way

if (info.getName().getFirstName() != null) {
                name.setFirstName(info.getName().getFirstName());
            } else {
                name.setFirstName("");
            }

             Its of more painfull, since in my xsd most of the elements are 
like nillable='true' 

                Is there any alternate for this??

                 

Thanks & Regards,
Ram
    


      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/

Reply via email to