title: How to set .NET Client webservice ClientRuntime.MaxFaultSize
body: <p>I'm calling a java webservice that returns a type of FaultException that contains a list of errors. So the response message size is always large.</p>
  
  <p>In my c# (clr3.5) client I get the following error</p>
  
  <p><em><strong>"The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element."</em></strong></p>
  
  <p>I believe the fix for this is to set the <code>ClientRuntime.MaxFaultSize</code> <a href="http://msdn.microsoft.com/en-us/library/system.servicemodel.dispatcher.clientruntime.maxfaultsize.aspx" rel="nofollow">msdn-doc</a></p>
  
  <p>Is there a way to do this in the app.config ?</p>