title: WCF JSON service never getting hit
body: <p>I am trying to get a WCF JSON service to work that uses HTTPS and I can not get it to work for the life of me. I keep getting 400 error I believe it has something to do with my web.config file. Here is what I have currently.</p>
  
  <p><strong>Web.config</strong></p>
  
  <pre><code>&lt;system.serviceModel&gt;
      &lt;bindings&gt;
        &lt;webHttpBinding&gt;
          &lt;binding name="TransportSecurity" closeTimeout="00:05:00" maxBufferPoolSize="2147483647"
            maxReceivedMessageSize="2147483647"&gt;
            &lt;readerQuotas maxDepth="32" maxStringContentLength="5242880"
              maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
            &lt;security mode="Transport"&gt;
              &lt;transport clientCredentialType="None" /&gt;
            &lt;/security&gt;
          &lt;/binding&gt;
        &lt;/webHttpBinding&gt;
      &lt;/bindings&gt;
      &lt;services&gt;
        &lt;service behaviorConfiguration="ServiceBehavior" name="IBVProtoType.PostBack"&gt;
          &lt;endpoint address="https://Securesite.com/Webservice.svc"
            binding="webHttpBinding" bindingConfiguration="TransportSecurity"
            contract="IBVProtoType.PostBack"/&gt;
          &lt;endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" /&gt;
        &lt;/service&gt;
      &lt;/services&gt;
      &lt;behaviors&gt;
        &lt;serviceBehaviors&gt;
          &lt;behavior name="ServiceBehavior"&gt;
            &lt;serviceMetadata httpGetEnabled="true"/&gt;
            &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt;
          &lt;/behavior&gt;
        &lt;/serviceBehaviors&gt;
      &lt;/behaviors&gt;
   &lt;/system.serviceModel&gt;
  </code></pre>
  
  <p><strong>Iservice</strong></p>
  
  <pre><code>    [OperationContract]
      [WebInvoke(Method = "POST",
          RequestFormat = WebMessageFormat.Json,
          BodyStyle = WebMessageBodyStyle.WrappedRequest,
          UriTemplate = "PostBack")]
      void PostBack(string data);
  </code></pre>