Chapter 29. Creating and Consuming XML Web Services

OBJECTIVES

  • Learn how to create Web Services

  • Create a simple Windows application that consumes a Web Service

  • Create Web Service methods that expose data

  • Bind a DataGrid to the results of a Web Service method

In this chapter, you'll create two XML Web Services. The first, in this section, will be quite simple: Its goal will be to add two numbers together that you supply. The second, in the next section, will retrieve requested information back from SQL Server. In both cases, you're creating functionality that resides remotely—any application that has access to the Internet could consume the resulting Web Services and use the functionality remotely. Although you've already created a very simple Web Service in the previous chapter, the examples presented here begin to demonstrate the kinds of things (for example, calculations) you might actually want to do with XML Web Services.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.254.151