Re: Efficient Asynchronous Call to Webservice

Tech-Archive recommends: Fix windows errors by optimizing your registry



=?Utf-8?B?S2FseWFu?= <Kalyan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:AAAA4E67-4014-4170-87DF-9D341010868D@xxxxxxxxxxxxx:

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.
.



Relevant Pages

  • Re: DateTime WebService Discrepancy.
    ... When the datetime is sent by the webservice, ... > Ofcourse I had not even though of just passing a string as a parameter ... > locally and cut out the call to the web service. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: How do I create an object?
    ... The webservice exposes a WSDL document for that vary purpose. ... >I have the almost the same question, but it's regarding a web service ... It has a method such as SetInfo(int age, string firstName, ...
    (microsoft.public.dotnet.framework)
  • Re: text gets destroyed
    ... >> It seems like "\r" is cleared from the string when you sent it to a web ... >> In the call to my webservice i changed field3 to the following: ... Tried to do the messagebox trick just before calling the webservice. ... What does your web service look like? ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: How do I create an object?
    ... terrible if I did this with each call to the web service, but in practice, I ... > the end of the URL and it will return the valid schema for the webservice. ... It has a method such as SetInfo(int age, string ... >> could loop through the parameters collection and learn their names. ...
    (microsoft.public.dotnet.framework)
  • Re: error with web service
    ... before passing to Web Service and in the Web Service convert the data back ... > Before passing, the string looks like: ... > a webservice to be saved in the database. ...
    (microsoft.public.dotnet.framework.webservices)