SYSK 309: How To Cancel a Web Service Request

By : AppDev: Something You Should Know by Irena Kennedy  |    On : 2007 March 19  


Tag : Web Service

  |   View Original

AJAX makes asynchronous invocation of web service methods very easy.  For example, the line below instantiates a web service proxy (MyService) and calls a method (MethodX):   var request = new MyService().MethodX(param1, param2, OnRequestComplete, OnError);   The question is: if you needed to cancel this request (e.g. it’s a resource intensive request and the user is navigating to another page, or a user made a request with different parameters but the previously submitted request has ...

Total:

Click here to continue on details

Content Ownership

The content of this posting is wholly owned by AppDev: Something You Should Know by Irena Kennedy, and as such: the same retains sole copyright for the content. softlogger.com is not responsible for this content.


Recommended Related Readings :

Yahoo! Web Services Request and AjaxPro JSON Parser - I love it!

Yesterday night I build an example on how to use Yahoo! Web Services with the AjaxPro JSON par...


Calling Web Services Asynchronously

I had the opportunity to give a talk on Asynchronous Web Services in .NET V2 last night to the...


Keeping web services simple

The easy way for .NET developers to create an API over HTTP is to use SOAP web services. It’...


HTTP Web Request and Response Classes

After working with different http components from my ASP/COM/VB days , I was pleased to find ...


Web Services: Revolutionize your business

Industry is talking of Web Services to the height of Petronas Towers. For an IT professional u...


Web Services Best Practices

As I sit here on my deck, enjoying the cool autumn breeze1, I thought, what better thing to...




Quote: Good judgment comes from experience, and often experience comes from bad judgment - Rita Mae Brown