Posted on: 7/22/2013 11:05:09 AM | Views : 229

Hi
I am using 15 web service  from diffrent domain in my project.   it will take 68 second to get response from all the services. Now i want to update my code . currently i want to make change in code such a way that each web service can run only for 5 second. if it get response  within 5 second than its ok other wise it will skip this service . so please suggest some idea.
Currently i am using wait handeller but it will take more than 20 second. my currently code is like that
if (dsAllSupp.Tables[0].Rows[i]["SupplierCode"].ToString().Trim().ToUpper() == "AC") { try { chkBS = htlMaster.BegingetHotels(srchStr, null, null); WaitHandle[] forLC ={ chkBS.Asyn ...

Go to the complete details ...