BizTalk Utilities CV ,   Jobs ,   Code library
 
Home Page


Add/Edit your code items
Search the code library
Browse for the code library


.NET and XML
Accessing and Manipulating XML Data in Microsoft .NET Framework
Developing Multi-Threaded .NET Applications


 
 

<< XSLT 


By Sonu Kapoor
First Posted 02/20/2005
Times viewed 191

How to create a ""hello world"" XML WebService in Visual Studio .NET?


Summary How to create a "hello world" XML WebService in Visual Studio .NET?

Creating XML Web Services with Visual Studio .NET isnt a big deal. It isnt much difficulter than creating a web application. The necessary wizards will help to create such a service. Basically all you need is to create a asmx file.

To create the XML Web Service start Visual Studio .NET and create a new ASP.NET Web Service project. This option can be found under the templates. You can name the project how you like. I will call it Services. Open the Service1.asmx file in the code editor and uncomment the function HelloWord. Now press the F5 key to compile the project.

Viola you have created your first XML WebService. Press the HelloWorld link and you should see a new page with an Invoke button. Press the invoke button and you will see the returned data from the XML WebService.


Rate this article on a scale of 1 to 10 (0 votes, average 0)

Your vote :  

<< XSLT 





Leave a comment for this article
Your name
Your email (optional)
Your comment
Optional: Upload an attachment
Enter the code shown:

 
 

    Email TopXML