title: Deploy WCF service in IIS 7.5
body: <p>I am newbie to WCF. I am looking to steps to deploy WCF on IIS and consume the service. 
  I have follow the steps same as to deploy the Website on IIS, also set the default document to Service1.svc</p>
  
  <p>Now when I am trying to consume this wcf service it is giving me the following error.</p>
  
  <pre><code>Metadata contains a reference that cannot be resolved: 'http://manish-pc:8000/Service1.svc?wsdl'.
  The WSDL document contains links that could not be resolved.
  There was an error downloading 'http://manish-pc:8000/Service1.svc?xsd=xsd0'.
  The underlying connection was closed: An unexpected error occurred on a receive.
  Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
  An existing connection was forcibly closed by the remote host
  Metadata contains a reference that cannot be resolved: 'http://localhost:8000/Service1.svc'.
  Content Type application/soap+xml; charset=utf-8 was not supported by service http://localhost:8000/Service1.svc.  The client and service bindings may be mismatched.
  The remote server returned an error: (415) Cannot process the message because the content type 'application/soap+xml; charset=utf-8' was not the expected type 'text/xml; charset=utf-8'..
  If the service is defined in the current solution, try building the solution and adding the service reference again.
  </code></pre>
  
  <p>Follwing is my Service Details in Web.Config file   </p>
  
  <pre><code>&lt;system.serviceModel&gt;
      &lt;services&gt;
        &lt;service behaviorConfiguration="DemoWCF.Service1Behavior" name="DemoWCF.Service1"&gt;
          &lt;host&gt;
            &lt;baseAddresses&gt;
              &lt;add baseAddress="http://localhost:8000/Service1.svc"/&gt;
            &lt;/baseAddresses&gt;
          &lt;/host&gt;
          &lt;endpoint address="http://localhost:8000/Service1.svc"
                    binding="basicHttpBinding"
                    contract="DemoWCF.IService1"
                    bindingConfiguration="basicBinding"&gt;
            &lt;identity&gt;
              &lt;dns value="localhost"/&gt;
            &lt;/identity&gt;
          &lt;/endpoint&gt; 
          &lt;endpoint address="mex" 
                    binding="mexHttpBinding" 
                    contract="IMetadataExchange" /&gt;
        &lt;/service&gt;
      &lt;/services&gt;
  
      &lt;bindings&gt;
        &lt;basicHttpBinding&gt;
          &lt;binding name="basicBinding" textEncoding="utf-8"&gt;&lt;/binding&gt;
        &lt;/basicHttpBinding&gt;
      &lt;/bindings&gt;
  
      &lt;behaviors&gt;
        &lt;serviceBehaviors&gt;
          &lt;behavior name="DemoWCF.Service1Behavior"&gt;
            &lt;serviceMetadata httpGetEnabled="True" /&gt;
            &lt;serviceDebug includeExceptionDetailInFaults="false" /&gt;
          &lt;/behavior&gt;
        &lt;/serviceBehaviors&gt;
      &lt;/behaviors&gt;
    &lt;/system.serviceModel&gt;
  </code></pre>
  
  <p>Please guide me where I'm lacking and what steps to make.
  Thanks.</p>