title: How do you change the SOAP Envelope schema in WCF?
body: <p>I am connecting to a third-party end point via WCF and I have one problem. The schema for the SOAP envelope that is generated by WCF isn't compatible with the end point. </p>
  
  <p>Currently WCF is generating this:</p>
  
  <pre><code>&lt;s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"&gt;
  </code></pre>
  
  <p>But it needs to be this:</p>
  
  <pre><code>&lt;s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:a="http://www.w3.org/2005/08/addressing"&gt;
  </code></pre>
  
  <p>I've tested this in soapUI to confirm this is the problem, but how can I control this in WCF? I used the Add Service Reference option in Visual Studio to generate the service.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Andy</p>