Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Hour 14. Working with Web Services Using... > Calling Web Services Using Client Sc...

Calling Web Services Using Client Script

We already have discussed working with web services in earlier hours, but those web services were directly associated with the server controls in the Toolkit, which used the ASP.NET Ajax extensions and the Client Library. In this hour, we’ll explore web services, which are created in order to be invoked and executed from the client. We will use the example of returning the list of items in the Items.xml file to the client. Therefore, the web service will have a method FetchItems, which will return an array of items to the client script.

First, let’s take a look at the asmx file, as follows:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial