Advertisement

09.01.2008 at 03:34AM PDT, ID: 23693351 | Points: 125
[x]
Attachment Details

Call a web service from windows service?

Asked by sterankin in Web Services, C# Programming Language

Tags:

I am attempting to call a .NET web service from a Windows Service.
I have created the proxy class for the web service using the WSDL tool as part of a separate project.

Several other applications reference this project and invoke this proxy to make a call to the web service.  When I make the call from a web application the call works fine.  However when I attempt to call this from a windows service I get the error Proxy Name could not be resolved: no value.

The url of the web service is stored in the app.config of the windows service.

Any ideas on how to solve this, I'm baffled.
Start Free Trial
[+][-]09.01.2008 at 05:36AM PDT, ID: 22359633

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.01.2008 at 05:37AM PDT, ID: 22359635

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.01.2008 at 05:39AM PDT, ID: 22359647

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_2_20070628