p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   .NET Web Services (http://p2p.wrox.com/forumdisplay.php?f=102)
-   -   Adding a reference to a web service (http://p2p.wrox.com/showthread.php?t=27941)

loganscott2000 April 10th, 2005 05:25 PM

Adding a reference to a web service
 
Hey, guys. I created a Web service in Visual Studio 2003. I attempted to add the following line at the top of my DatabaseSvc.vb file.

Imports System.Web.Services

But, when I start typing, the word "System" pops up because of IntelliSense, as does the Web part, but when I hit a period after the System.Web, I don't get Services, I only get three options, and
they are AspNetHostingPermission, AspNetHostingPermissionAttribute, and AspNetHostingPermissionLevel. That's it. No Services. I try to right click and Add --> Reference. No luck, there is no option to add anything.

How do I add a reference?? This is driving me nuts. I am trying to learn how to build Web Services.

Thanks

Logan

planoie April 13th, 2005 09:51 PM

You need to add a reference to the project file.

Right click the project file, choose Add Reference...
The .NET tab should be choosen by default, scroll down to System.Web.Services and add it.

-Peter


All times are GMT -4. The time now is 02:53 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.