O'Reilly logo

Microsoft® .NET Compact Framework Kick Start by Ronnie Yates, Erik Rubin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Client for the Simple XML Web Service

Now it is time to create a client for the QuotableQuotes XML Web service. Start out by creating a new Smart Device Application. Design the UI to match the UI in Figure 9.2. The code to call the XML Web service will be placed in the button-clicked handler on the button labeled Get Quote. First add a reference to the XML Web service into the Smart Device Application project.

Figure 9.2. The user interface for the QuotableQuotes client application.

Adding a Web Reference to a Client Application

Now, a Web reference to service needs to be added to the client project. To do this, go to the Solution Explorer, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required