To easy reproduce the error i have created a new wcf service called TestService.
When i do a loop of 9999 times i get the desired message: The maximum message size quota for incoming messages (65536) has been exceeded.
So i change the required things described on other treads. but without succes... then i found this manual(http://keithelder.net/2008/01/17/exp...and-endpoints/) using the tool Wcf Service Configurator. but same error.
Here is the Config:
Hope anyone can help. spending for hours now searching for a answer!!
If you want the code. i'm happely to share it. it's only a loop filling a list of strings tho.
Regards Me And Thanks in advance!
When i do a loop of 9999 times i get the desired message: The maximum message size quota for incoming messages (65536) has been exceeded.
So i change the required things described on other treads. but without succes... then i found this manual(http://keithelder.net/2008/01/17/exp...and-endpoints/) using the tool Wcf Service Configurator. but same error.
Here is the Config:
Code:
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttp" maxBufferPoolSize="9999999" maxBufferSize="9999999"
maxReceivedMessageSize="9999999" />
</basicHttpBinding>
</bindings>
<services>
<service name="TestService.Service1">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicHttp"
name="BasicHttp" contract="TestService.IService1" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior>
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="true"/>
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
</configuration>
If you want the code. i'm happely to share it. it's only a loop filling a list of strings tho.
Regards Me And Thanks in advance!