By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,320 Members | 1,577 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,320 IT Pros & Developers. It's quick & easy.

Cancel async web service call

P: n/a
I want to be able to cancel an async call to a VB.Net web service and for the
web service to know it has been cancelled so that it can abort gracefully.

I have used the Begin.... and End... methods of the proxy class to
successfully run the web service asynchronously. And I used the Abort()
method of the IAsyncResult return by the Begin... method to abort the web
service request. This aborts the client but does not abort the web service as
it continues to run and complete normally.

Can anyone help with this please.

Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Hi Dave,

As for the webservice call still be executed when we abort the request on
the client proxy, this is a normal behavior. Since the webservice call is
made remotely and when the client send request to the serverside, there is
not further communication before the remote server return the response.
That's why the serverside will always finish the method call no matter we
abort it at client proxy or not. Currently there hasn't any good means to
avoid this. And the following article has also mentioned this:

#Asynchronous Web Service Calls over HTTP with the .NET Framework


Steven Cheng
Microsoft Online Support

Get Secure!
(This posting is provided "AS IS", with no warranties, and confers no

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.