title: test client WCF throws error wjen invoked
body: <p>I have WCF service which i want to test it,when the invoke box appears and i press invoke,it throws an error ,i have googled it but so far not able to run it,here the error i get:</p>
  
  <p>The actual error message:</p>
  
  <pre><code>Failed to invoke the service. Possible causes: The service is offline or inaccessible; the client-side configuration does not match the proxy; the existing proxy is invalid. Refer to the stack trace for more detail. You can try to recover by starting a new proxy, restoring to default configuration, or refreshing the service.
  
      at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
             at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)
             at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
             at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
             at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
  
              Exception rethrown at [0]: 
                 at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
                 at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
                 at ITurbineMonitorService.SetStatus(String turbineId, StatusChangeEventData statusChangeEvent)
                 at TurbineMonitorServiceClient.SetStatus(String turbineId, StatusChangeEventData stat
  </code></pre>
  
  <p>here is my config which i run on localhost:</p>
  
  <pre><code> &lt;serviceBehaviors&gt;
      &lt;behavior&gt;
        &lt;!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --&gt;
        &lt;serviceMetadata httpGetEnabled="false" /&gt;
        &lt;!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information --&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt;
      &lt;/behavior&gt;
    &lt;/serviceBehaviors&gt;
  &lt;/behaviors&gt;
  &lt;services&gt;
    &lt;service name="TurbineMonitor.TurbineMonitor"&gt;
      &lt;endpoint address="" behaviorConfiguration="REST" binding="webHttpBinding" contract="TurbineMonitor.ITurbineMonitorService" /&gt;
      &lt;endpoint address="soap" binding="basicHttpBinding" contract="TurbineMonitor.ITurbineMonitorService" /&gt;
      &lt;endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /&gt;
    &lt;/service&gt;
  &lt;/services&gt;
  </code></pre>