阅读背景:

从Windows服务调用Web服务

来源:互联网 

I'm sure there's an elegant solution to the problem but I just can't get my head around it. I am trying to call a web service from within a Windows service. The web service is secured (using Windows authentication). The account that the windows service runs under does have the rights to call the web service but I can't figure out how to get those credentials and send them off to the web service. The web service is WCF and is hosted on the same machine (in IIS) as the windows service.I'm sure there's an elegant solution to the pro




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: