简体   繁体   English

ASP.NET Web服务调用WCF服务

[英]ASP.NET Webservice calling WCF service

I have almost the same problem as you have described in Calling webservice from WCF service . 与您从WCF服务调用网络服务中描述的问题几乎一样。

I have a asp.net webservice that calls a WCF service. 我有一个调用WCF服务的asp.net Web服务。 On my development machine this is working fine. 在我的开发机器上,这工作正常。 But if i deploy my ASP.net Webservice it is not working. 但是,如果我部署ASP.net Web服务,它将无法正常工作。 Both the ASP Webservice en WCF service needs my cridentials. ASP Webservice和WCF服务都需要我的证书。

How did you solved your problem. 您是如何解决问题的。 In the logging of the WCF service I see that my credentials is not passing to WCF. 在WCF服务的日志记录中,我看到我的凭据没有传递给WCF。

Please help. 请帮忙。 Regards, Ozkan o.ulu@deli-ict.nl 此致Ozkan o.ulu@deli-ict.nl

Solved. 解决了。

The problem was the application pool worker precess identity of service 1 that is calling service 2. 问题是调用服务2的服务1的应用程序池工作程序身份。

steps I used: 1 on server 1 add a new application pool 2 change the identity to a service account that can access service 2 3 add this account to IIS_WPG 4 Restart IIS on server 1 我使用的步骤:1在服务器1上添加新的应用程序池2将标识更改为可以访问服务的服务帐户2 3将此帐户添加到IIS_WPG 4在服务器1上重新启动IIS

and it is working. 它正在工作。

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

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