ComponentOne Scheduler for WPF and Silverlight
Scheduler Components and Controls / Data-centric Architecture with Silverlight / The Sample Application / Implement the Client Side / Add a Reference to the Web Service
In This Topic
    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:

    1. Right-click the References node in the Scheduler project and select Add Service Reference.
    2. In the dialog box that follows, click the Discover button. Visual Studio will locate the service we just added in the previous step.
    3. In the Namespace field, type "DataService".

      The dialog box should look like this:

       

       

    4. Click OK to add the reference.