Send array in soap request
<p>I have soap xml request like this now i need to pass the request in array form   </p>

<p>how to pass the request when my soap request is in this form</p>

<pre><code>     &lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays"&gt;
   &lt;soapenv:Header/&gt;
   &lt;soapenv:Body&gt;
      &lt;Search&gt;
          &lt;web:arrCartItems&gt;
        &lt;!--Zero or more repetitions:--&gt;
        &lt;web:CartItems&gt;
           &lt;food:MenuItemID&gt;249&lt;/food:enter code hereMenuItemID&gt;
           &lt;food:Quantity&gt;1&lt;/food:Quantity&gt;
        &lt;/web:CartItems&gt;
     &lt;/web:arrCartItems&gt;              
         &lt;gender&gt; 
            &lt;!--Zero or more repetitions:--&gt;
            &lt;arr:string&gt;male&lt;/arr:string&gt;
            &lt;arr:string&gt;female&lt;/arr:string&gt;
         &lt;/gender&gt;            
      &lt;/Search&gt;
   &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;
</code></pre>
