Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / July 2005

Tip: Looking for answers? Try searching our database.

WebService Client with multi-thread

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dhow - 14 Jul 2005 03:26 GMT
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.
Sami Vaaraniemi - 14 Jul 2005 08:42 GMT
>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
dhow - 14 Jul 2005 11:47 GMT
Thank u very very much!

> >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.
[quoted text clipped - 13 lines]
> Regards,
> Sami

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.