Now that we have created and exposed our custom services, they can be consumed by other applications. To demonstrate this, we will use Visual Studio and write two code samples.
The first example of consuming a service deals with the retrieval of a title list. We want to be able to write a list of titles to the console window.
To add the service reference, perform the following steps: