I'm consuming a third-party web-service. When I get the return of the service the following message is displayed:
The maximum size of incoming messages (65536) has been exceeded
I have already researched forums for a solution, but I have not succeeded with any ... I leave below my app.config for verification.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<diagnostics>
<messageLogging maxSizeOfMessageToLog="2147483647" />
</diagnostics>
<bindings>
<basicHttpBinding>
<binding name="WorkflowWebServiceSoap" maxBufferPoolSize="2147483647"
maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" />
</basicHttpBinding>
<customBinding>
<binding name="WorkflowWebServiceSoap12">
<textMessageEncoding messageVersion="Soap12" />
<httpTransport maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
maxBufferSize="2147483647" />
</binding>
</customBinding>
</bindings>
<client>
<endpoint address="URL DO WEB SERVICE"
binding="customBinding" bindingConfiguration="WorkflowWebServiceSoap12"
contract="ServiceReference1.WorkflowWebServiceSoap" name="WorkflowWebServiceSoap12" />
</client>
</system.serviceModel>
</configuration>
Would anyone have a solution proposal?