I am consuming a Java Web Service as a WCF service from .NET.
The service has an HTTPS endpoint and requires the message to be signed with a client certificate.
I have set up WCF tracing and with the Service Trace Viewer I can confirm that the request is signed and sent off as expected and a valid response is returned from the service. But the response is not accepted by my console application. Instead the following exception is thrown:
Cannot find a token authenticator for the 'System.IdentityModel.Tokens.X509SecurityToken' token type. Tokens of that type cannot be accepted according to current security settings.
What am I doing wrong?