title: How can I call my WCF service from browser?
body: <p>I'm writing a webservice that is suppose to save json two json strings to DB. I can invoke it with sope UI and WCF Test Client but I can't call it from my browser. Is there some way to do that? </p>
  
  <p>The service will initially be used by android app and I have tried calling from it with out any luck.</p>
  
  <p>Here is the interface of my service:</p>
  
  <pre><code> [ServiceContract]
  public interface IRService
  {
      [OperationContract]
      [WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Json,
         BodyStyle = WebMessageBodyStyle.Wrapped,
         UriTemplate = "SaveCallResults?callInfo={callInfo}&amp;testInfo={testInfo}")]
      string SaveCallResults(string callInfo, string testInfo);
  }
  </code></pre>
  
  <p>And here is my web.config</p>
  
  <pre><code>&lt;system.serviceModel&gt;
  &lt;bindings&gt;
    &lt;basicHttpBinding&gt;
      &lt;binding name="BasicHttpBinding_RService" closeTimeout="00:01:00"
        openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
        allowCookies="false" bypassProxyOnLocal="false"            hostNameComparisonMode="StrongWildcard"
        maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536"
        textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"
        messageEncoding="Text"&gt;
        &lt;readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
          maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
        &lt;security mode="None"&gt;
          &lt;transport clientCredentialType="None" proxyCredentialType="None"
            realm="" /&gt;
          &lt;message clientCredentialType="UserName" algorithmSuite="Default" /&gt;
        &lt;/security&gt;
      &lt;/binding&gt;
    &lt;/basicHttpBinding&gt;
  &lt;/bindings&gt;
  &lt;behaviors&gt;
    &lt;serviceBehaviors&gt;
      &lt;behavior name=""&gt;
        &lt;serviceMetadata httpGetEnabled="true" /&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="false" /&gt;
      &lt;/behavior&gt;
    &lt;/serviceBehaviors&gt;
  &lt;/behaviors&gt;
  &lt;serviceHostingEnvironment aspNetCompatibilityEnabled="false"
    multipleSiteBindingsEnabled="true" /&gt;
  &lt;services&gt;
    &lt;!-- causing error --&gt;
    &lt;!--&lt;service name="NovaRoadRunnerWS.RService" behaviorConfiguration="ServiceBehaviour" &gt;
      &lt;endpoint address="" binding="webHttpBinding" contract="NovaRoadRunnerWS.IRService" behaviorConfiguration="web" &gt;
      &lt;/endpoint&gt;
    &lt;/service&gt;--&gt;
  &lt;/services&gt;
  </code></pre>
  
  <p></p>