I am new to web services.
I was just following a tutorial and created a web service. The next step was to create a proxy by entering wsdl followed by path to esdl contract. It was supposed to create a service1.cs
file however my system created service.cs
file which was similar to except on the tutorial.
The next step is to create a console tester application. I added the service.cs
file to my console project but it cannot compile. I'm getting the following error:
Error 1
The type or namespace name 'Services'
does not exist in the namespace 'System.Web'
(are you missing an assembly reference?)
C:\.....\tws\Service.cs 4 18 tws
Please help.
Did you look in the project references?
System.Web.Services
is NOT in System.Web
but in a different separate assembly.
See if there is a reference to :
System.Web.Services
if not add a reference to:
System.Web.Services.dll
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With