Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 10th, 2005, 05:25 PM
Registered User
Join Date: Apr 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.


Old April 13th, 2005, 09:51 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

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.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Service Reference taposh_dr BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 1 July 11th, 2007 01:48 PM
Error to Add Web Reference from a Web service jdjbarrios ASP.NET 2.0 Professional 0 July 18th, 2006 02:58 PM
Adding a web reference times out bat21 Pro VB.NET 2002/2003 0 March 3rd, 2005 04:38 AM
Web Service Reference Issue eshyong .NET Web Services 1 November 2nd, 2003 12:11 AM
Error While Adding Web Reference geeta .NET Web Services 2 July 19th, 2003 11:57 AM

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