title: Setting Max Message and buffer size for WCF webhttp
body: <p>I currently have a WCF service with webHttp bindings, im attempting to increase the max size that can be inputted to the service by overriding the default settings in config, i have tried doing something like </p>
  
  <pre><code>  &lt;system.serviceModel&gt;
  &lt;bindings&gt;
  &lt;webHttpBinding&gt;
    &lt;binding name="webHttp" &gt;
    &lt;security mode="Transport"&gt;
        &lt;transport clientCredentialType = 
               "None"
              proxyCredentialType="None"
              realm="string" /&gt;
    &lt;/security&gt;
    &lt;/binding&gt;
  
  &lt;/webHttpBinding&gt;
  &lt;/bindings&gt;
  &lt;services&gt;
  
    &lt;service name="PrimeStreamInfoServices.Service1" behaviorConfiguration="PrimeStreamInfoServices.Service1Behavior"&gt;
      &lt;!-- Service Endpoints --&gt;
      &lt;endpoint address="" binding="webHttpBinding"  contract="PrimeStreamInfoServices.IService1"&gt;
        &lt;!-- 
            Upon deployment, the following identity element should be removed or replaced to reflect the 
            identity under which the deployed service runs.  If removed, WCF will infer an appropriate identity 
            automatically.
        --&gt;
      &lt;/endpoint&gt;
      &lt;endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/&gt;
    &lt;/service&gt;
  &lt;/services&gt;
  &lt;behaviors&gt;
    &lt;serviceBehaviors&gt;
      &lt;behavior name="PrimeStreamInfoServices.Service1Behavior"&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="true"/&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="false"/&gt;
      &lt;/behavior&gt;
    &lt;/serviceBehaviors&gt;
  &lt;/behaviors&gt;
  &lt;diagnostics&gt;
  </code></pre>
  
  <p>and setting various other properties pertaining to message size but none seems to be working, can one even change the m essage size of  a webHttp binding?
  Any suggestions? Thanks!</p>