Solved

How to reference a SOAP web service in Visual Studio 2008

Posted on 2011-02-16
3
348 Views
Last Modified: 2012-05-11
I'm fairly new to VS2008 and it appears this area has changed a bit from 2005.

In 2005, I would choose the "Add Web Reference" option and then paste in the following path:

http://localhost/Training/isapi_dcwebservice.dll/wsdl/IDataCollection

I would then declare the web service with this syntax:

Private ws As New localhost.IDataCollectionservice()

With 2008, I see it's now "Add Service Reference" so I did so and pointed to this path:

http://localhost/Training/isapi_dcwebservice.dll/wsdl/IDataCollection

When I try to declare the ws object, IDataCollectionService is not in Intellisense?? How would I declare this web service in 2008?  Trying to declare this, I get a "Type localhost.IDataCollectionservice is not defined."

Private ws As New localhost.IDataCollectionservice()




0
Comment
Question by:JMO9966
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Expert Comment

by:himanshut
ID: 34913064
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 34914811
In the Add Service Reference box, click on Advanced button. On the result window, click the "Add Web Reference" button in the bottom.


WebRef.jpg
0
 

Author Closing Comment

by:JMO9966
ID: 35014018
Thanks!
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question