I'm consuming a web service by SOAP, however the following message is displayed:
The maximum size of incoming messages (6553 6) was exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate membership element.
I searched through various articles and forums on how to solve this problem. I made the setting in the Binding - increasing the maximum dimension - but the message persists.
Would anyone have any other alternative to solve this type of problem? I leave SOAP below to check the properties I used.
App.config
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<diagnostics>
<messageLogging maxSizeOfMessageToLog="1000000" />
</diagnostics>
<bindings>
<basicHttpBinding>
<binding name="WorkflowWebServiceSoap" maxBufferPoolSize="1000000"
maxBufferSize="1000000" maxReceivedMessageSize="1000000" />
</basicHttpBinding>
<customBinding>
<binding name="WorkflowWebServiceSoap12">
<textMessageEncoding messageVersion="Soap12" />
<httpTransport maxBufferPoolSize="1000000" maxReceivedMessageSize="1000000"
maxBufferSize="1000000" />
</binding>
</customBinding>
</bindings>
<client>
<endpoint address="MINHA URL DE WEBSERVICE"
binding="customBinding" bindingConfiguration="WorkflowWebServiceSoap12"
contract="ServiceReference1.WorkflowWebServiceSoap" name="WorkflowWebServiceSoap12" />
</client>
</system.serviceModel>
</configuration>