How to service more than one request using a web service

vishwa_j

Member
Joined
Oct 24, 2006
Messages
5
Location
Hopkins, MN, USA
Programming Experience
1-3
Hi
Could you please tell me if i can process more than one request at the same time using a web service? Is there a way to achieve this in one shot? I dont have experience in web apps and not sure of the way it works. Multi threading is not appropriate for this requirement as it just switches between threads and it wont solve my problem? Does web service too switch between requests as multithreading? What will happen when two or more requests arrive at the same time? Tell me how web service works if i use only one web server for my project.
Thanks in advance.
 
Web Service is just like a Web Page. Each caller is it's own process (session) and therefore it's not synchronous like you think, i.e. every get in line and can only talk to the web service one at a time. Best thing to do, give it a try, web services are awesome!
 
IIS handles all requests and directs them one at a time to the webservice application, you only have to write the webservice to handle a single request and it will handle every single one.
 
Back
Top