Re: XML Web Service Client allows at maximum two asynch Requests

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Sami Vaaraniemi (samivanospam_at_pleasejippii.fi)
Date: 10/20/04


Date: Wed, 20 Oct 2004 14:10:03 +0300

This limitation is due to the HTTP specification that one client should have
at most two concurrent connections to one web server. This keeps a single
client from overloading the server with connection requests. You can
increase the limit by modifying the app config file:

<configuration>
  <system.net>
    <connectionManagement>
      <add address="*" maxconnection="40" />
    </connectionManagement>
  </system.net>
...

Regards,
Sami

"Christian Wilhelm" <ch.wilhelm@bigfoot.de> wrote in message
news:2tkkddF2053u2U1@uni-berlin.de...
> Hi!
>
> I have a Problem with an XML Web Service Client I have written.
> At the Web Server there is a method, which takes exactly 10 Seconds until
it
> sends the response. Because of that I call the WebMethod asynchronous by
> using BeginMethodName and EndMethodName.
>
> So far, so good. But when I now make 5 simultanous requests then they
appear
> in the following order:
>
> Request 1
> Request 2
> === 10 Seconds later ===
> Response 1
> Request 3
> Response 2
> Request 4
> === 10 Seconds later ===
> Response 3
> Request 5
> Response 4
> === 10 Seconds later ===
> Response 5
>
> So it looks to me as if the Client only makes at maximum two Request each
> time. So far I figured out that the Server isn't to blame, because when I
> start a second instance of my Client, then I can make two Requests in
> Client1 and two Request in Client2 simultanous.
>
> Can someone help me please,
> thank U very much,
> Chrisitan
>
>



Relevant Pages

  • Re: The server committed a protocol violation
    ... Response -> ... instead sending a new request right away. ... One potential gotcha here is that the web server does one sendfor ... application can access the web service without any problems. ...
    (microsoft.public.windowsce.embedded)
  • Re: New to Java - Guidance Required
    ... All of these do essentially the same thing, communicate a request from the client to a service asking it to do something for you. ... I'm currently working on a project where I need a client to be able to send a request and get a response. ... In yet another instance I needed to have a continuous two way dialogue between an applet and the server from which it came - in this particular case I had to use sockets. ...
    (comp.lang.java)
  • Re: How to remove HTTP Header [Expect: 100-continue]
    ... RESPONSE to redirect, then client makes another requests and gets a 200 Ok. ... > CLIENT:: Request ... The Java Client Header look ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Response blockieren
    ... Ein Client sendet einen Request an den Webserver. ... Danach sendet der Linuxrechner eine Nachricht an den Windows-Sever. ... Und jetzt würde ich gerne die Webseite-Klasse informieren, dass der Response ...
    (microsoft.public.de.german.entwickler.dotnet.asp)
  • Re: Are sockets thread safe
    ... the client wraps its own request for a paraticular web page from the ... to the same web server on the other end of the same socket. ...
    (comp.os.linux.networking)