I am going to be really simple and strait to the point here if you want to unit test a project that uses a service reference you must add the service as a service reference to the testing project with the same configurations as the one in the project you are testing or else the exception above will fire in your face if you run the service
Technical Tips on .NET Technologies, Xaml Xamarin