Calling a web service from a windows service

Posted by Arun on Stack Overflow See other posts from Stack Overflow or by Arun
Published on 2009-01-30T12:12:28Z Indexed on 2010/03/28 21:23 UTC
Read the original article Hit count: 249

Filed under:
|
|
|

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.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET