Author: larger_uk | Posted on: 11/15/2009 12:09:20 PM | Views : 297

I am making four calls to a webservice via javascript asynchronously and each call is going to the same webmethod but retrieving different data from the database. I am not using the built in .net ajax javascript as I have created my own.
All it does is call the webmethod from the webservice and pass through the parameters using SOAP.
All four calls are working fine and retrieving data, however if any of them take time to query the database, the other javascript calls wait till the previous one finishes querying the database before it then does the same.
Is there anyway to make all the calls asynchronous on the webservice so if one of them does take a long time in retrieving its data it won't effect the other calls.
I don't think there is a problem with the javascript, but more to do with the server and how it handles multiple calls. I have looked into threading but not sure how to handle this seeing as the calls are coming from javascript ...

Go to the complete details ...