JMO9966
asked on
How to reference a SOAP web service in Visual Studio 2008
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.IDataCollections ervice()
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.IDataCollections ervice is not defined."
Private ws As New localhost.IDataCollections ervice()
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.IDataCollections
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.IDataCollections
Private ws As New localhost.IDataCollections
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!
http://msdn.microsoft.com/en-us/library/8wbhsy70.aspx
Cheers!