title: Supply a different endpoint address in the WSDL of a WCF web service
body: <p>I have a fairly standard WCF service (hosted on IIS7) which generates a fairly standard WSDL when queried with <code>?wsdl</code>:</p>
  
  <pre><code>&lt;wsdl:definitions&gt;
    &lt;!-- ... --&gt;
    &lt;wsdl:service&gt;
      &lt;wsdl:port&gt;
        &lt;soap:address location="https://machine/virtual_dir/servicename.svc"/&gt;
      &lt;/wsdl:port&gt;
    &lt;/wsdl:service&gt;
  &lt;/wsdl:definitions&gt;
  </code></pre>
  
  <p>(boring bits omitted)</p>
  
  <p>I'm after a quick 'n dirty way to change the address given in this generated WSDL to something <strong>completely</strong> different, for example:</p>
  
  <pre><code>https://othermachine/other_dir/other_service.svc
  </code></pre>
  
  <p>What is the easiest way of doing this?</p>