Consuming a DataSet from a Web Service

Consuming a DataSet using Web services is trickier than creating the Web service itself. There are a number of actions you must perform in order.

First, for your code to access the remote objects and methods, you must build a proxy class. A proxy class is a local set of methods that match the remote methods. Its purpose is to handle the work of actually calling the Web service and receiving the data. In other words, when you call the Web service in your code, you are actually calling the methods in the proxy class. The proxy class connects to the remote Web service on your behalf and automatically parses the payload of XML data returned from the service into values that your application can use directly. ...

Get Sams Teach Yourself ADO.NET in 24 Hours 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.