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 Simple XML Web Service

Before a .NET Compact Framework XML Web service client can be created, there must exist an XML Web Service that the client can consume. In this chapter a simple Web service is created, and a .NET Compact Framework client is created to consume it. This XML Web service returns a famous quote, the name of the person who first spoke or wrote the quote, and the years during which the person lived.

The quotes will be stored in a Microsoft SQL Server database. When a request for a quote is made, the XML Web service will query for a random quote and return that quote to the client. You will need to set up this database before you can run this sample. See the Readme.txt file in the media for this chapter for instructions ...

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