Maxreceivedmessagesize (6553 6) was exceeded. How to resolve?

Asked

Viewed 650 times

0

I am consuming a web service by SOAP, but the following message is displayed:

The maximum quota size of incoming messages (6553 6) was exceeded. To increase the quota, use the Maxreceivedmessagesize property on appropriate element of association.

I’ve searched various articles and forums about how to solve this problem. I performed the adjustment in Binding - increased the maximum quota -, but the message persists.

Would anyone have any alternative to solve this type of problem? I leave below the SOAP 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>
  • Is the Service yours or yours? If it’s yours, you’ve already set up maxReceivedMessageSize on the service side as well ?

  • @Juliosoares, I am using the third party service... Would it be a pendencia of them ? Thank you =)

  • It shouldn’t be no. Have you tried to put the maximum allowed value for maxReceivedMessageSize ? Try putting maxReceivedMessageSize="2147483647" on your web.config.

  • @Juliosoares Thanks. Unfortunately I tried to put this value, but the same message is displayed. Would you have any other possibility ? Thanks again.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.