Re: WFC problem

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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" ?>

<configuration>

<system.serviceModel>

<bindings>

<basicHttpBinding>

<binding name="ServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00"

receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"

bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"

maxBufferSize="65536" maxBufferPoolSize="524288"
maxReceivedMessageSize="65536"

messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"

useDefaultWebProxy="true">

<readerQuotas maxDepth="32" maxStringContentLength="8192"
maxArrayLength="16384"

maxBytesPerRead="4096" maxNameTableCharCount="16384" />

<security mode="None">

<transport clientCredentialType="None" proxyCredentialType="None"

realm="" />

<message clientCredentialType="UserName" algorithmSuite="Default" />

</security>

</binding>

</basicHttpBinding>

</bindings>

<client>

<endpoint address="http://servidor:8080/ws/Service.asmx";
binding="basicHttpBinding"

bindingConfiguration="BasicHttpBinding_IOrderService"
contract="IOrderService"

behaviorConfiguration="LargeQuotaBehavior"

name="ServiceSoap" />

</client>

</system.serviceModel>

</configuration>


and I get this error:

"There is no endpoint behavior named 'LargeQuotaBehavior'. "

Thanks in advance.



"Marc Gravell" <marc.gravell@xxxxxxxxx> escreveu na mensagem
news:uNCpzRinIHA.5944@xxxxxxxxxxxxxxxxxxxxxxx
Are you sure that is your web.config? WCF typically has a LOT more config
than that (in system.ServiceModel), 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


.



Relevant Pages

  • Re: question refined - Copy file from client to server
    ... uploaded form - which is the stream. ... to a directory on the server, rather than load it into SQL. ... the user browsed to the file so your page could upload it. ... just manipulate the files on a client machine at will. ...
    (microsoft.public.dotnet.general)
  • Re: question refined - Copy file from client to server
    ... uploaded form - which is the stream. ... to a directory on the server, rather than load it into SQL. ... the user browsed to the file so your page could upload it. ... just manipulate the files on a client machine at will. ...
    (microsoft.public.dotnet.general)
  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)
  • This is going straight to the pool room
    ... or not the client has privilege to do what they're trying to do, ... The server environment is this: ... 3GL User action Routines that Tier3 will execute on your behalf during the ... Routine Name: USER_INIT ...
    (comp.os.vms)
  • Re: Send and recive files
    ... > I've created a submit form where the user can select a file to upload. ... > When the user press the button for submit the selected file, how my asp ... > How can i send file to the client? ... - When I have to send file from server to client, ...
    (microsoft.public.inetserver.asp.general)