title: how to send parameters in zeep client
body: <p>I am using python zeep library and I am trying to send a request to a soap client, but I keep getting this error:</p>
  <blockquote>
  <p>ValueError: The String type doesn't accept collections as value</p>
  </blockquote>
  <p>This is the XML file of the WSDL client:</p>
  <pre><code>&lt;s:element name=&quot;SendSms&quot;&gt;
  &lt;s:complexType&gt;
  &lt;s:sequence&gt;
  &lt;s:element minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot; name=&quot;username&quot; type=&quot;s:string&quot;/&gt;
  &lt;s:element minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot; name=&quot;password&quot; type=&quot;s:string&quot;/&gt;
  &lt;s:element minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot; name=&quot;to&quot; type=&quot;tns:ArrayOfString&quot;/&gt;
  &lt;s:element minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot; name=&quot;from&quot; type=&quot;s:string&quot;/&gt;
  &lt;s:element minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot; name=&quot;text&quot; type=&quot;s:string&quot;/&gt;
  &lt;s:element minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot; name=&quot;isflash&quot; type=&quot;s:boolean&quot;/&gt;
  &lt;s:element minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot; name=&quot;udh&quot; type=&quot;s:string&quot;/&gt;
  &lt;s:element minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot; name=&quot;recId&quot; type=&quot;tns:ArrayOfLong&quot;/&gt;
  &lt;s:element minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot; name=&quot;status&quot; type=&quot;s:base64Binary&quot;/&gt;
  &lt;/s:sequence&gt;
  &lt;/s:complexType&gt;
  &lt;/s:element&gt;
  </code></pre>
  <p>and here is my code:</p>
  <pre><code>from zeep import Client
  
  
  client = Client(&quot;http://www.parandsms.ir/post/send.asmx?wsdl&quot;)
  parameters = {
      &quot;username&quot;:&quot;my_user_name&quot;,
      &quot;password&quot;:&quot;my_password&quot;,
      &quot;from&quot;:&quot;50009666096096&quot;,
      &quot;to&quot;:&quot;a_phone_number_wich_i_put_here_as_string&quot;,
      &quot;text&quot;:&quot;salam&quot;,
      &quot;isflash&quot;:False,
      'recId':&quot;&quot;,
  
  }
  res = Client
  status = 0
  status= client.service.SendSms(parameters).SendSmsResult()
  print(status)
  </code></pre>
  <p>I have been stuck at this error for a long time. If somebody could help I would really appreciate it.</p>