Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 10th, 2005, 05:25 PM
Registered User
 
Join Date: Apr 2004
Location: Grove City, OH, USA.
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.

Thanks

Logan
Reply With Quote
  #2 (permalink)  
Old April 13th, 2005, 09:51 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



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


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