October 2010
Intermediate to advanced
1920 pages
73h 55m
English
Web services enable you to share information across the Internet. When you communicate with a remote web service, you use a local proxy class to represent the web service located on the remote machine. You can use the ObjectDataSource to represent this proxy class.
For example, the file in Listing 18.9 contains a simple web service that returns the current server time. You can create this file in Visual Web Developer by selecting Web Site, Add New Item, and selecting the Web Service item.
Listing 18.9. TimeService.asmx

After you create the web service in Listing 18.9, you can communicate with the service from anywhere ...
Read now
Unlock full access