Does setting the identity on a service endpoint override the contents of a service certificate in <serviceCredentials>???


  • I've been using the <identity> element under a service endpoint to specify an identity that is different from what is specified in the subject of a service certificate I specify under the <serviceAuthorization><serviceCredentials> element and while in the service WSDL I see the identity I specified, when calling a service endpoint I get the "Identity check failed for outgoing message. The expected DNS identity of the remote endpoint was 'XYZ' but the remote endpoint provided DNS claim 'ABC'. If this is a legitimate remote endpoint, you can fix the problem by explicitly specifying DNS identity 'ABC' as the Identity property of EndpointAddress when creating channel proxy." exception where the DNS claim is the subject of the service certificate specified with <serviceCredentials>.


    Can someone clarify why the above is happening?





    Friday, November 30, 2007 11:30 AM