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

Consuming Web Service That Exposes a Typed DataSet

The .NET Compact Framework does not support typed DataSets. If a Web service uses a typed DataSet, .NET Compact Framework clients will not be able to consume the Web service. Specifically, the client will fail when trying to compile the proxy into the application.

There are work-arounds for consuming a typed DataSet:

  • Modify the XML Web service to use only regular DataSets.

  • Modify the XML Web Service to expose only regular DataSets.

  • Create a new XML Web service that consumes the original typed DataSet and converts it to a regular DataSet.

These first two options may seem similar, but they are quite different. The first option suggests that you remove all instances of the typed DataSet from the Web ...

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