Skip to main content

Building an Async .NET 2.0 Web Service Client

No replies
kohsuke
Offline
Joined: 2003-06-09

from http://spaces.msn.com/members/tedmalone/Blog/cns!1pByTRhExZ4HlM1h3Cvpt0zQ!232.entry
In previous entries, I've discussed using SQL Server 2005 and the .NET Framework 2.0 to build and access a web service. One of the nice things about building web services in SQL Server is that you can truly abstract the data access from the application accessing the data... (Hmmmmmm, sounds very SOAish, doesn't it?)

At any rate, lets discuss building an Asyncronous web service client, using the design pattern discussed in my previous blog entry.

The first thing we need to do is to setup the event handler for the completion event. Using the web service discussed several entries ago, this might look something like this.