简体   繁体   English

从本地主机到服务器IIS的WCF服务调用问题

[英]Problem with call WCF Service From local host to Server IIS

Hi All I Have a service project that hosted it in local IIS and within this project i have a refrence to another service in an IIS on another server in this Domain but when i want calling this service I get an exception: 大家好,我有一个服务项目,将其托管在本地IIS中,并且在该项目中,我对该域中另一台服务器上IIS中的另一项服务有所保留,但是当我要调用此服务时,出现异常:

{System.ServiceModel.Security.SecurityNegotiationException: The caller was not authenticated by the service. {System.ServiceModel.Security.SecurityNegotiationException:服务未验证调用方。

How I Can Solve It? 我该如何解决? thanks 谢谢

  1. Check with hosing by console. 通过控制台检查。
  2. Check Domain access for user or port restriction. 检查域访问的用户或端口限制。
  3. when you host then try checking whether it is generating wsdl by just typing http://.. in IE 当您托管时,尝试通过在IE中键入http:// ..来检查它是否正在生成wsdl。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM