Hi danjal,
You can download the sample
here.
The ServiceReferences.ClientConfig file is the file you should include in your client project. (detailed instructions included in the file itself in the sample)
That's most likely the reason you were getting the "no endpoint..." error message. (i.e. not having added the file above)
Regards,
Silvio.