Building an Async .NET 2.0 Web Service Client
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.