The HTTP request was forbidden with client authentication scheme 'Anonymous'

北城余情 提交于 2019-12-04 04:17:15
Alex

I suppose that your problem might be in your client certificate. Setting clientCredentialType="Certificate" you tell WCF, that client must specify a certificate trusted by the server. As I've understood, you have only server-side generated certificate. Try to set

 <transport clientCredentialType="None" /> 

This will allow you to send messages without requiring certificate trusted by the server. Or you can try to generate certificate on client side and put it into Trusted folder on your server. Maybe this state will help you http://msdn.microsoft.com/en-us/library/ms731074.aspx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!