>>Hello,
>>
>>I need to add a service reference from a client, which requests a certificate to be installed on our computer.
>>When I go to the service location using Internet Explorer, it asks me to select the certificate, and after doing so, the WSDL file shows.
>>
>>However when I try to add the service reference to the .NET project, it gives the following error message:
>>
>>The HTTP request was forbidden with client authentication scheme 'Anonymous'
>>
>>
>>I can't find a way to link the certificate to the project so it allows me to add the service reference.
>
>You need to specify the credentials for the endpoint in the .config file.
>See: .http://msdn.microsoft.com/en-us/library/ff648360.aspx
Thanks, this documentation seems to be similar as to what I am looking for, but after "Create a Test Client", under Add a WCF Service Reference to the Client, that is where it fails for me already, because the service cannot be added, the "HTTP request was forbidden" messages appears at that time. So I can't configure the service, because it never gets added. I have the feeling that I somehow need to tell the project which keys to use, but I can't find how to do this.
Christian Isberner
Software Consultant