title: Is it possible to replace schema locations in Suds/python?
body: <p>I'm trying to hit a WCF service that's being hosted behind a reverse proxy/redirect. The WCF service is reporting the wrong <code>schemaLocation</code>, based on which machine it's actually being served from. For instance, I get something like this:</p>
  
  <pre><code>&lt;wsdl:types&gt;
  &lt;xsd:schema targetNamespace="http://tempuri.org/Imports"&gt;
  &lt;xsd:import schemaLocation="http://badhost1.com/service.svc?xsd=xsd0" namespace="http://tempuri.org/"/&gt;
  &lt;xsd:import schemaLocation="http://badhost1.com/service.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/&gt;
  &lt;/xsd:schema&gt;
  &lt;/wsdl:types&gt;
  </code></pre>
  
  <p>Now, it shouldn't be <code>http://badhost1.com</code>, it should be <code>http://goodhost.com</code>. I can open the xsd in my browser if I point it to the goodhost version - obviously the badhost one doesn't work.</p>
  
  <p>Is there a way to replace these bad endpoints with the correct one?</p>