Hello, 

I have an Axis client contacting a gsoap service, where one of the
parameters is a bean with several fields.  For any null fields in this bean,
Axis adds a xsi:nil='true' reference.  Is there any way I could turn this
off, so that null fields are not included in the xml?  

I am just using the BeanSerializer, and for the typeDecription of the bean,
I have set each of the parameters to MinOccurs(0), but I still seem to get
xsi:nil='true' for everything.  Is there something else I need to do?  Below
is a portion of my soap body...

Thank you,
Laura
...
<item>
     <tagInternalId xsi:nil="true"/>
     <tagId>P400002070</tagId>
     <status>0</status>
     <temp>0</temp>
     <humidity>0</humidity>
     <data xsi:nil="true"/>
     <limitFlags>0</limitFlags>
     <notRespondingCnt>0</notRespondingCnt>
     <tagdata xsi:nil="true"/>
     <asset xsi:nil="true"/>
</item>
...

Reply via email to