Add a Reference to the Web Service
In This Topic
The first thing we will do is add a reference to the Web service we just created, so we can invoke it from the client. Complete the following steps:
- Right-click the References node in the Scheduler project and select Add Service Reference.
- In the dialog box that follows, click the Discover button. Visual Studio will locate the service we just added in the previous step.
- In the Namespace field, type "DataService".
The dialog box should look like this:
- Click OK to add the reference.