I have this out source service that I referenced in my project and when calling it I get the following error:
The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element
so I fixed my bindings in the web config as followings:
<client>
<endpoint address="MY SERVICE ADDRESS"
binding="basicHttpBinding" bindingConfiguration="MyBinding"
contract="MyContract" name="MyImplPort" />
</client>
and in the bindings:
<bindings>
<basicHttpBinding>
<binding name="MyBinding" maxBufferPoolSize="2000000000"
maxBufferSize="2000000000" maxReceivedMessageSize="2000000000"/>
</basicHttpBinding>
</bindings>
however I still get the same error.
is there a way to fix this?