Re: XML Web Service Client allows at maximum two asynch Requests
From: Sami Vaaraniemi (samivanospam_at_pleasejippii.fi)
Date: 10/20/04
- Next message: Nick: "RE: Underlying connection was closed"
- Previous message: Oleg Tkachenko [MVP]: "Re: Why is the return value not XmlDocument ?"
- In reply to: Christian Wilhelm: "XML Web Service Client allows at maximum two asynch Requests"
- Next in thread: Christian Wilhelm: "Re: XML Web Service Client allows at maximum two asynch Requests"
- Reply: Christian Wilhelm: "Re: XML Web Service Client allows at maximum two asynch Requests"
- Messages sorted by: [ date ] [ thread ]
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
>
>
- Next message: Nick: "RE: Underlying connection was closed"
- Previous message: Oleg Tkachenko [MVP]: "Re: Why is the return value not XmlDocument ?"
- In reply to: Christian Wilhelm: "XML Web Service Client allows at maximum two asynch Requests"
- Next in thread: Christian Wilhelm: "Re: XML Web Service Client allows at maximum two asynch Requests"
- Reply: Christian Wilhelm: "Re: XML Web Service Client allows at maximum two asynch Requests"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|