The web service web part enables you to connect to web service end points. This web part requires that you specify a web service URL and it implements a
GetDataSet() method. The Kentico WebProject contains an example that can be customized. Let's create an example of a web service that allows you retrieve a lunch list using a
GetDataSet() method and the following steps.
\App_Code\CMSPages\WebService.csfile, as shown in the following screenshot:
GetDataSet()method, replace the existing code with the following:
/// <summary> /// Returns the data ...