WCF client consuming Java web service - Token authenticator problem
I am trying to connect from a .Net WCF client to a third party web service coded in Java and implementing WS-Security with public key certificates for CXF-based web services.
After some struggle, I finally manage to send a request properly formated and get a response 200 from the service.
Even though I recieve a reponse code 200 from the service, an error is raised by WCF when processing the response:
Unhandled Exception: System.ServiceModel.Security.MessageSecurityException: 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.
I seems that the service is including a BinarySecurityToken in the response that WCF cannot process.
Has anyone a clue on this ? It's beens days I am struggeling on this problem...
Any help would be greatly appreciated !
Message was edited by: gavroche