Re: Efficient Asynchronous Call to Webservice
by Spam Catcher on 11/8/2007 11:20:00 PM
=?Utf-8?B?S2FseWFu?= <Kalyan@discussions.microsoft.com> wrote in
news:AAAA4E67-4014-4170-87DF-9D341010868D@microsoft.com:
> I have to make multiple calls (about 400K) to a webservice which
> returns a string. And currently it takes about a week to make all the
> calls. Instead of waiting for the webservice result before i make the
> next call, I rather want to make the calls and let the results
> comeback at its own pace. I used Asynchronous calling and callback
> method, but it does not seems to work. I am sure, asynchronous way
> will improve my program execution exponentially. I would appreciate if
> someone can help me with this. And by the way, i did not see an Begin
> and End methods.
Surely you must have a better way ... ???
Do you have access to the developer who built the original web service?
Perhaps you can make a bulk call.
As for asynchronous web services, .NET 2.0 uses events rather than
Begin/End functions.