Before you start
For application developers and DBAs, learn how to access DB2 data from the .NET development environment. This tutorial includes step-by-step instructions and screen captures.
This tutorial series includes multiple parts. The series introduces the specifications of a proof-of-concept application and its database requirements. It teaches how to create the relational database objects in DB2 9 using Visual Studio .NET 2005. It demonstrates how to wire DB2 with a Windows application. It also teaches how to bind the database objects with an ASP.NET Web application. It illustrates how to use the XML data store in DB2 9 to extend the application capacity. Finally, it illustrates how to leverage the DB2 data in Web services and the SOA environment.
This tutorial is Part 5 of the tutorial series. Go through the steps to create a Web service from a DB2 stored procedure to access DB2 data, and then consume the Web service in the Windows application that you built in Part 2, and the Web application that you built in Part 3 of this tutorial series.
In this tutorial, learn how to use DB2 9 and Visual Studio .NET 2005 to create and consume a Web service.
This tutorial is written for application developers and database administrators whose skills and experience are at a beginning to intermediate level. You should have a general familiarity with using the Microsoft Visual Studio .NET development environment. You should also understand Web services, and basic concepts of relational database, such as tables, views, triggers, stored procedures, keys, and referential integrity.
- Windows operating system supporting Visual Studio .NET 2005.
- Visual Studio.NET 2005 Professional edition or higher. The tutorial is developed using Version 8.0.50727.42, with Microsoft .NET Framework Version 2.0.50727.
- DB2 9 (To download DB2 9, see the Resources section in this tutorial.)




