locked
HTTP/1.1 413 Request Entity Too Large Issue Occurs in Soap UI RRS feed

  • General discussion

  • <?xml version="1.0"?>
    <configuration>
      <appSettings>
        <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true"/>
        <add key="regkey" value="devdesign"/>
        <add key="regkeyDesign" value="devdesign"/>
      </appSettings>
      <system.web>
        <compilation targetFramework="4.5" debug="true"/>
        <httpRuntime targetFramework="4.5" executionTimeout="999999" maxRequestLength="2147483647"/>
        <identity impersonate="false"/>
        <authentication mode="Windows"/>
      </system.web>
      <system.serviceModel>
        <bindings>
          <basicHttpBinding>
            <binding name="NewBinding1_uiHailService" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647"  maxBufferPoolSize="2147483647" openTimeout="00:30:00" closeTimeout="00:30:00" sendTimeout="00:30:00" receiveTimeout="00:30:00">
              <readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
            </binding>
          </basicHttpBinding>
        </bindings>
        <client>
          <endpoint address="http://localhost/HailCommDev/uiHailService.svc" binding="basicHttpBinding" bindingConfiguration="NewBinding1_uiHailService" contract="uiWCF.uiHailService" name="NewBinding1_uiHailService"/>
        </client>
        <behaviors>     
          <endpointBehaviors>
            <behavior name="restfullbehaviour">
              <webHttp/>
              <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
            </behavior>
          </endpointBehaviors>
          <serviceBehaviors>
            <behavior>
           
              <dataContractSerializer maxItemsInObjectGraph="2147483647" />
              <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false"/>
             
              <serviceDebug includeExceptionDetailInFaults="false"/>
            </behavior>
          </serviceBehaviors>
        </behaviors>
        <protocolMapping>
          <add binding="basicHttpBinding" scheme="http"/>
        </protocolMapping>
        <serviceHostingEnvironment minFreeMemoryPercentageToActivateService="0" aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
        
      </system.serviceModel>
      <system.webServer>
        <security>
          <requestFiltering>
            <requestLimits maxAllowedContentLength="2147483647"/>
          </requestFiltering>
        </security>
        <modules runAllManagedModulesForAllRequests="true"/>
      
        <directoryBrowse enabled="true"/>
      </system.webServer>
    
    </configuration>
     In above webconfig i decalred maxReceivedMessageSize as 
    2147483647

    but when i send request size upto 79.85 KB . webservice returns

    HTTP/1.1 413 Request Entity Too Large

    Error how to fix this. I am using Soap UI for testing purpose. Need suggestion for this and also known any thing

    wrong in my webconfig

    Saturday, September 5, 2015 6:14 AM