Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>my web.config for my WCF service is very similar to yours. You definitely have to add the MEX endpoint like Shiraz said. I've added a behavior configuration that lets any message size go through the WCF. Try to use these settings if it can help you (don't forget to change the contract settings):</p> <pre><code>&lt;system.serviceModel&gt; &lt;diagnostics&gt; &lt;messageLogging logMalformedMessages="true" logMessagesAtTransportLevel="true" /&gt; &lt;/diagnostics&gt; &lt;bindings&gt; &lt;basicHttpBinding&gt; &lt;binding name="BasicHttpBinding_IService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="524288000" maxBufferPoolSize="524288000" maxReceivedMessageSize="524288000" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"&gt; &lt;readerQuotas maxDepth="500000000" maxStringContentLength="500000000" maxArrayLength="500000000" maxBytesPerRead="500000000" maxNameTableCharCount="500000000" /&gt; &lt;security mode="None"&gt; &lt;transport clientCredentialType="None" proxyCredentialType="None" realm=""&gt; &lt;extendedProtectionPolicy policyEnforcement="Never"/&gt; &lt;/transport&gt; &lt;message clientCredentialType="UserName" algorithmSuite="Default"/&gt; &lt;/security&gt; &lt;/binding&gt; &lt;/basicHttpBinding&gt; &lt;/bindings&gt; &lt;behaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior name="serviceBehavior"&gt; &lt;dataContractSerializer maxItemsInObjectGraph="6553600" /&gt; &lt;serviceMetadata httpGetEnabled="true" /&gt; &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;services&gt; &lt;service behaviorConfiguration="serviceBehavior" name="RC.Svc.Web.TPF.Service"&gt; &lt;endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService" contract="RC.Svc.Web.TPF.IService" /&gt; &lt;endpoint contract="IMetadataExchange" binding="mexHttpBinding" address="mex" /&gt; &lt;/service&gt; &lt;/services&gt; &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true" /&gt; &lt;client /&gt; </code></pre> <p></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload