Synchronize Your Databases with .NET Web Services (Part I) : Page 2
The ever-increasing use of XML is an exciting development in Web site design and construction, and provides new ways for site authors to expose information to visitors. In this two-part article, you'll see how to create a data-driven Web service and explore three different ways to consume it. Then, in part II, you'll see how to use such services to synchronize the content in distributed databases automatically.
by Alex Homer
Mar 10, 2004
Page 2 of 8
Two Ways to Access ASP.NET Web Services
Because of the hive of activity in the Web services world, Microsoft chose to include Web services technology in their release of the .NET Framework a couple of years ago. You create a Web service by building a Class file that has the .asmx file extension. The Web server (IIS) maps this to the ASP.NET engine, which compiles and executes the class to expose the functionality it contains to the current request and response objects.
Effectively, this means that you can "call" a Web service using a standard HTTP request, and get back an XML-formatted string as the response (see Figure 1).