Last post Apr 30, 2013 03:27 AM by Ashish_Patel
Apr 29, 2013 07:22 PM|thirumaran007|LINK
Will it be any impact if we call web service multiple times inside a for loop ( multiple times in the sense 100 times)
Apr 30, 2013 03:13 AM|luckyforu2006|LINK
1.depends on what you want to achieve
2.if every request take time to respond then you may end up with creating many connection which are not disposed, it will effect your performance and many return any error if web server timeout, send timeout etc
Apr 30, 2013 03:27 AM|Ashish_Patel|LINK
When designing web service to get data, you want to make sure that you minimize the number of calls between the client application and web service server. By minimizing the number of calls, you improve application speed, reduce communications overhead (why
send three request when you can do it by one), and reduce network traffic, all of which are generally considered very good things.
So I prefered to call on web method in which you will get all data and you fitter that data on client application but in which you have disadvanstage that you have write code to filter data any where you call the mention method.