title: svcutil giving "HTTP Get Error" when generating proxy
body: <p>I am trying to generate proxy code using svcutil.exe. Service is running on the same box.
  Here is console output. Any idea what's wrong?</p>
  
  <pre><code>SvcUtil.exe https ://xyz:xxx/servicename/wsdl?wsdl
  </code></pre>
  
  <p>Attempting to download metadata from 'https://xyz:xxx/servicename/wsdl?wsdl' using WS-
  Error: Cannot obtain Metadata from https ://xyz:xxx/servicename/wsdl?wsdl</p>
  
  <p>WS-Metadata Exchange Error
      URI: https ://xyz:xxx/servicename/wsdl?wsdl</p>
  
  <pre><code>Metadata contains a reference that cannot be resolved: 'https ://xyz:xxx/servicename/wsdl?wsdl'.
  
  There was no endpoint listening at https://xyz:xxx/servicename/wsdl?wsdl that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
  
  The remote server returned an error: (404) Not Found.
  </code></pre>
  
  <p>HTTP GET Error
      URI: https ://xyz:xxx/servicename/wsdl?wsdl</p>
  
  <pre><code>The document was understood, but it could not be processed.
  </code></pre>
  
  <ul>
  <li><p>The WSDL document contains links that could not be resolved.</p></li>
  <li><p>There was an error downloading 'https ://localhost:xxx/servicename/wsdl?wsdl=wsdl1'.</p></li>
  <li><p>The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.</p></li>
  <li><p>The remote certificate is invalid according to the validation procedure.</p></li>
  </ul>