Hi,
We are facing a problem in the SOAP response xml generated using Axis1.1.

In one of the Web Service applications, in the SOAP Response xml we have an xs:choice 
element defined. When the SOAP response xml is generated by AXIS, any choice element 
that is not populated an additional tag is generated with "xsi:nil=true". For a choice 
element defined as shown below and only firstElement populated.     

     <xs:complexType name="Message_Choice">
          <xs:choice>
               <xs:element ref="firstElement"/>
               <xs:element ref="secondElement"/>
          </xs:choice>     
     </xs:complexType>

The SOAP response xml contains an additional tag 

<ns1:secondElement xsi:nil="true"/> 

How to remove the addional tag from the SOAP Response xml without modifying the xsd.


Thanks & Regards
Venkatesh C

Reply via email to