Let's head to Visual Studio and start consuming the document service that we created. You can open the Visual Studio project for this chapter, which is included in the code files for the book, to see the service in action.
If you are a more experienced Visual Studio user, you can create a project yourself. In Visual Studio, create a project for a console application by going to File | New | Project…. In the Installed Templates section, select Visual C# | Windows. Choose a project of type Console Application, insert a name and location for the project, and click on OK.
To add the service reference, in the Solution Explorer right-click on the Service References node of your project and click on Add Service Reference…. Enter the WSDL location in the address field and click on Go. Of course, you'll need to replace DYNAX01:8101
with the server and port of your installation. You should see a form similar to the following screenshot. Enter TitleServiceRef
in the Namespace...