"dhow" <dh**@discussions.microsoft.com> wrote in message
news:AE**********************************@microsof t.com...
I hava a simple webservice(Just sleep for 30 seconds) which is developed
using Java and deployed on WebLogic,and I aslo make a client using VB.net.
In
the client I create 5 threads to call the webservice. The question is why
only 2 threads are successe to call the webservice, the others call the
webservice method but their status is waiting.
You are probably observing the HTTP 1.1 limit of at most two simultaneous
calls from one application to one Web Service. If you issue more than two
calls, by default only the first two of them execute and the rest are put to
wait in the client.
The maximun number of simultaneous calls can be changed through the
ServicePointManager.DefaultConnectionLimit property.
Regards,
Sami