title: Can I use urllib to submit a SOAP request?
body: <p>I have a SOAP request that is known to work using a tool like, say, SoapUI, but I am trying to get it to work using urllib.</p>
  
  <p>This is what I have tried so far and it did not work:</p>
  
  <pre><code>import urllib
  f = "".join(open("ws_request_that_works_in_soapui", "r").readlines())
  urllib.urlopen('http://url.com/to/Router?wsdl', f)
  </code></pre>
  
  <p>I haven't been able to find the spec on how the document should be posted to the SOAP Server.</p>
  
  <p>urllib is not a necessary requirement.</p>