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 ...

Get Microsoft® .NET Compact Framework Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.