![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
What happened to the "Add Web Reference" option in Visual Studio 2008 when right-clicking a Windows Service project? It's in VS2K5, but not in VS2K8. Anyone know the right way to do this? I need a Windows Service to call a Web Service. |
#3
| |||
| |||
|
|
Maybe as a work-around: I always use the utility WSDL.exe to generate a class wich can then be used to call the webservice, no need for a web-reference. Start a command prompt call vsvars32.bat in \program files\<Your visual Studio version>\Common7\Tools\ call WSDL.exe /l:cshttp://localhost/myWebService/Service1.asmx?wsdl* (or use /l:vb for vb.net) Remember to regenerate this class when the webservice changes. Hope this helps. Jurjen. "CSharpner" <csharp... (AT) gmail (DOT) com> wrote in message news:ad1ffb03-3f0e-4f1b-b527-e198741af9c6 (AT) j20g2000hsi (DOT) googlegroups.com... What happened to the "Add Web Reference" option in Visual Studio 2008 when right-clicking a Windows Service project? *It's in VS2K5, but not in VS2K8. *Anyone know the right way to do this? *I need a Windows Service to call a Web Service.- Hide quoted text - - Show quoted text - |
#4
| |||
| |||
|
|
What happened to the "Add Web Reference" option in Visual Studio 2008 when right-clicking a Windows Service project? It's in VS2K5, but not in VS2K8. Anyone know the right way to do this? I need a Windows Service to call a Web Service. |
#5
| |||
| |||
|
|
CSharpner<csharp... (AT) gmail (DOT) com> wrote in news:ad1ffb03-3f0e-4f1b-b527- e198741af... (AT) j20g2000hsi (DOT) googlegroups.com: What happened to the "Add Web Reference" option in Visual Studio 2008 when right-clicking a Windows Service project? *It's in VS2K5, but not in VS2K8. *Anyone know the right way to do this? *I need a Windows Service to call a Web Service. Right click and choose "Add Service Reference". VS.NET 2008 supports WCF which in turns supports web services. -- spamhoney... (AT) rogers (DOT) com (Do not e-mail) |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |