title: Python: Sending Raw XML via Suds (jurko)
body: <p>I'm interfacing with a SOAP API, wherein a particular method requires a raw XML string as a parameter. Like so:</p>
  
  <pre><code>import suds.client as sudscl
  
  client = sudscl.Client('http://host/ws.wsdl', location='http://host/ws')
  
  session = 'test123'
  options = '&lt;rawXML&gt;&lt;Item&gt;Foobar&lt;/Item&gt;&lt;/rawXML&gt;'
  
  result = client.service.ExecuteSearch(session, options)
  </code></pre>
  
  <p>Pretty straight-forward. However, suds HTML-encodes the XML string I just sent in, like this:</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
   &lt;SOAP-ENV:Envelope xmlns:ns0="http://host/ws"&gt;
     &lt;SOAP-ENV:Header/&gt;
     &lt;ns1:Body&gt;
       &lt;ns0:ExecuteSearch&gt;
          &lt;ns0:session&gt;test123&lt;/ns0:session&gt;
          &lt;ns0:options&gt;
            &amp;lt;rawXML&amp;rt;&amp;lt;Item&amp;rt;Foobar&amp;lt;/Item&amp;rt;&amp;lt;/rawXML&amp;rt;
          &lt;/ns0:options&gt;
       &lt;/ns0:ExecuteSearch&gt;
     &lt;/ns1:Body&gt;
   &lt;/SOAP-ENV:Envelope&gt;
  </code></pre>
  
  <p>Boo! Is there any way to get suds to pass in the XML string un-altered?</p>
  
  <p>Thanks!</p>