Dears,
I am creating a wcf service in which i am uploading two pdf files.
When i upload one file, it is working fine but if i do it for two files, it is giving me the error http/1.1 413 request entity too large in soapui.
Tried different options still i am unable to rectify the issue.
Following is my web.config details
<bindings>
<basicHttpBinding>
<binding name="A2" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"> <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
<security mode="Transport">
<transport clientCredentialType="Certificate" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="https://Service" binding="basicHttpBinding" bindingConfiguration="A2" contract="AS.Aspt"name="A2name" />
</client>
added the below in applicationHost also , still it is not working.
<serverRuntime uploadReadAheadSize="2147483647" />
<section name="serverRuntime" overrideModeDefault="Allow" />
set the uploadReadAheadSize in iis to 2147483647
Thanks
Nick