WCF Error: The identity check failed for the outgoing message
-
Hi, i am using a wcf web service developed by Microsoft. i have hosted that service on server and trying to consume it. for consuming web service, using ADD service Reference then put credential and got error accordingly ****************************************************************************************** Client.ClientCredentials.Windows.ClientCredential.Domain = "testlab.ourcp.com"; Client.ClientCredentials.Windows.ClientCredential.UserName = "TESTLAB\administrator"; Client.ClientCredentials.Windows.ClientCredential.Password = "M!ndMasT23"; Client.ClientCredentials.UserName.UserName = "administrator"; Client.ClientCredentials.UserName.Password = "M!ndMasT23"; Error: The Security Support Provider Interface (SSPI) negotiation failed ******************************************************************************************* Client.ClientCredentials.Windows.ClientCredential.Domain = "testlab.ourcp.com"; Client.ClientCredentials.Windows.ClientCredential.UserName = "administrator"; Client.ClientCredentials.Windows.ClientCredential.Password = "M!ndMasT23"; Client.ClientCredentials.UserName.UserName = "administrator"; Client.ClientCredentials.UserName.Password = "M!ndMasT23"; Error: The identity check failed for the outgoing message. The expected identity is 'identity (http://schemas.xmlsoap.org/ws/2005/05/identity/right/possessproperty: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn)' for the 'http://localhost/SCVMMService/VirtualMachineManagementService.svc' target endpoint. ******************************************************************************************* Client.ClientCredentials.Windows.ClientCredential.Domain = "testlab.ourcp.com"; Client.ClientCredentials.Windows.ClientCredential.UserName = "testlab.ourcp.com\administrator"; Client.ClientCredentials.Windows.ClientCredential.Password = "M!ndMasT23"; Client.ClientCredentials.UserName.UserName = "administrator"; Client.ClientCredentials.UserName.Password = "M!ndMasT23"; Error: The Security Support Provider Interface (SSPI) negotiation failed. Please suggest me needful Thanks in Advance.