Create and Invoke .NET WEB Service using VB.NET (With Tutorial)
Category:
C#, VB.NET, ASP.NETType:
ApplicationsDifficulty:
IntermediateAuthor:
Narayan Rao KankipatiVersion Compatibility: Visual Basic.NET
More information:
This is a simple example of creating and invoking a web service using VB.NET and ASP.NET. This example returns a dataset from web service. The "Create web service" html document explains the step by step of how to create and invoke the the web service.
The webservice_example.Zip file consists of "mywebservice.asmx.vb" , "mywebservice.vb" ,webform1.aspx. This is developed in VS.NET 1.0.
The web service as presented is not functional because it requires a SQL database with a cities table; to get it functional all you have to do is change the connection string to connect to a database, and change the sql statement.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.
Download webservice_example.zip