WCF
WCF Resolving error ‘The caller was not authenticated by the service.’
by brian on Sep.17, 2009, under .NET, WCF, c#, coding
I ran across an easy way to get wsHttpBinding to work on a remote machine. This involves just a little bit of code on the client side to complete the authentication.
VPortalDataServiceClient client = new VPortalDataServiceClient();
client.ClientCredentials.Windows.ClientCredential.UserName = "btomas";
client.ClientCredentials.Windows.ClientCredential.Password = "password123";
The UserName is the windows account user name that is hosting the service. This user may just need to be one on the domain that the machine can see — not exactly sure though. And the Password is the password of that user.
