Hi,
I have created a WCF service and trying to access the methods in that from the service client application.
Created the Proxy for the service and when sending the Small data XML file(upto 75 kb) its working fine. If we send the data more than that giving the folowing exception.
The remote server returned an unexpected response: (400) Bad Request.
below are ny configuration settings..
the Host web.config file...
<bindings>
<basichttpbinding>
<binding name="basicHttpBinding_IDataAcquisitionService">
maxBufferPoolSize="200000000" maxReceivedMessageSize="200000000" maxBufferSize="200000000">
<readerquotas maxdepth="200000000" maxstringcontentlength="200000000">
maxArrayLength="200000000" maxBytesPerRead="20000000" maxNameTableCharCount="200000000" />
<security mode="None">
<transport clientcredentialtype="None" proxycredentialtype="None">
realm="" />
<message clientcredentialtype="UserName" algorithmsuite="Default" />
</transport></security>
</readerquotas></binding>
</basichttpbinding>
</bindings>
the server web.config file...
<bindings>
<basichttpbinding>
<binding name="basicHttpBinding" maxbuffersize="200000000">
maxBufferPoolSize="200000000" maxReceivedMessageSize="200000000">
<readerquotas maxdepth="200000000" maxstringcontentlength="200000000">
maxArrayLength="200000000" maxBytesPerRead="200000000" maxNameTableCharCount="200000000" />
<security mode="None">
<transport clientcredentialtype="None" proxycredentialtype="None">
realm="" />
<message clientcredentialtype="UserName" algorithmsuite="Default" />
</transport></security>
</readerquotas></binding>
</basichttpbinding>
</bindings>
the App.config file ...
<bindings>
<basichttpbinding>
<binding name="DataAcquisitionService">
maxBufferSize="200000000" maxBufferPoolSize="200000000" maxReceivedMessageSize="200000000">
<readerquotas maxdepth="200000000" maxstringcontentlength="200000000" maxarraylength="200000000">
maxBytesPerRead="200000000" maxNameTableCharCount="200000000" />
<security mode="TransportCredentialOnly">
<transport clientcredentialtype="Ntlm" proxycredentialtype="None">
realm="" />
<message clientcredentialtype="UserName" algorithmsuite="Default" />
</transport></security>
</readerquotas></binding>
</basichttpbinding>
</bindings>
I have given Max values for all the bindings but not able to process the Large data files.
Could You please Help me in this regard.
thanks
Chandra