First of all, make sure your service that you want to reference is up and running.
Then, in Visual Studio's Solution Explorer, ping "Add Service Reference":
In the dialog box that appears, type in your service address, and click on "Go":
This should connect to your service, discover the metadata, and if all goes well, you'll see your service (the service contract and its methods) in the middle part of the screen:
Before you click on "OK" too quickly - pay attention to the textbox "Namespace" in the lower left corner - you can type in a namespace in which your service reference (the classes it generates) will live. I typically use something like (project).(servicename).Adapter
- choose whatever makes sense to you.
Now, in your Solution Explorer, you'll see a new icon for the service you've just referenced - when you click on the "Show all files" button on the Solution Explorer toolbar, you'll see all the files that were generated. The one where your classes live is always called Reference.cs
.
When you dare to open that file :-), you'll see that you'll have a class called (yourservicename)Client
which is what you need to instantiate in your client code - it will carry all the defined service methods, which you can now call from your code:
Hope this helps !