ashchow
12 years agoOccasional Contributor
Empty array Vs array with empty elements
I am using an Excel as a data source to populate my requests. soapUI creates arrays with empty elements when there is no data for those elements.
Ex - <get:Dependents>
<get:Dependent>
</get:Dependent>
<get:Dependent/>
<get:Dependent/>
<get:Dependent/>
</get:Dependents>
this requests fails the XSD validation.
How can I create an empty array and not an array with empty elements?
ex- </get:Dependents>
Ex - <get:Dependents>
<get:Dependent>
</get:Dependent>
<get:Dependent/>
<get:Dependent/>
<get:Dependent/>
</get:Dependents>
this requests fails the XSD validation.
How can I create an empty array and not an array with empty elements?
ex- </get:Dependents>