Thanks for the reply.
So, you say that I can configure client independently, without the need to
configure the server? The problem is when downloading data, never with
upload. And how can I do this? Because I used this client config:
<?xml version="1.0" encoding="utf-8" ?>
<configuratio n>
<system.service Model>
<bindings>
<basicHttpBindi ng>
<binding name="ServiceSo ap" closeTimeout="0 0:01:00" openTimeout="00 :01:00"
receiveTimeout= "00:10:00" sendTimeout="00 :01:00" allowCookies="f alse"
bypassProxyOnLo cal="false" hostNameCompari sonMode="Strong Wildcard"
maxBufferSize=" 65536" maxBufferPoolSi ze="524288"
maxReceivedMess ageSize="65536"
messageEncoding ="Text" textEncoding="u tf-8" transferMode="B uffered"
useDefaultWebPr oxy="true">
<readerQuotas maxDepth="32" maxStringConten tLength="8192"
maxArrayLength= "16384"
maxBytesPerRead ="4096" maxNameTableCha rCount="16384" />
<security mode="None">
<transport clientCredentia lType="None" proxyCredential Type="None"
realm="" />
<message clientCredentia lType="UserName " algorithmSuite= "Default" />
</security>
</binding>
</basicHttpBindin g>
</bindings>
<client>
<endpoint address="http://servidor:8080/ws/Service.asmx"
binding="basicH ttpBinding"
bindingConfigur ation="BasicHtt pBinding_IOrder Service"
contract="IOrde rService"
behaviorConfigu ration="LargeQu otaBehavior"
name="ServiceSo ap" />
</client>
</system.serviceM odel>
</configuration>
and I get this error:
"There is no endpoint behavior named 'LargeQuotaBeha vior'. "
Thanks in advance.
"Marc Gravell" <ma**********@g mail.comescreve u na mensagem
news:uN******** ******@TK2MSFTN GP03.phx.gbl...
Are you sure that is your web.config? WCF typically has a LOT more config
than that (in system.ServiceM odel), for either the client or the server.
If your app is setting up the configuration through code (which is
entirely possible with WCF) then you need to find the bit of code that
configures the binding. Note that these quotas don't just apply to the
server; setting it at the server is useful for uploading larger arrays
etc, but the quotas may need to be independently set at the client if the
problem is the server *returning* too much data.
Marc