title: Error in Calling some service in WCF Client
body: <p>When I call this service method:</p>
  
  <pre><code>StaffServiceClient _Service = new StaffServiceClient();
  Table_StaffInfo item = _Service.GetStaffById(10);
  </code></pre>
  
  <p>I get an error:</p>
  
  <blockquote>
    <p>An error occurred while receiving the HTTP response to <a href="http://localhost:8008/StaffService" rel="nofollow">http://localhost:8008/StaffService</a>. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.</p>
  </blockquote>
  
  <p>but when i call another service method:</p>
  
  <pre><code>StaffServiceClient _Service = new StaffServiceClient();
  List&lt;spStaffList_Result&gt; list = _Service.GetStaffList().ToList();
  </code></pre>
  
  <p>the program works.</p>