It cant be set in the configuration file.you have to set in via programmatically
create an
XmlDictionaryReaderQuotas
object and set maxium value to all.and apply this object to your binding and call the proxy
sample code is:-
BasicHttpBinding basicHttpBinding = new BasicHttpBinding();
EndpointAddress endPoint = new EndpointAddress(URI of your wcf);
basicHttpBinding.MaxBufferSize = int.Parse("2147483647");
basicHttpBinding.MaxReceivedMessageSize = int.Parse("2147483647");
XmlDictionaryReaderQuotas readerQuotas = new XmlDictionaryReaderQuotas();
readerQuotas.MaxStringContentLength = int.Parse("2147483647");
readerQuotas.MaxArrayLength = int.Parse("2147483647");
basicHttpBinding.ReaderQuotas = readerQuotas;
using (your proxy client= new your proxy Client(basicHttpBinding, endPoint))
{
client.Open();
success = client.your wcf function();
}