Our Collection Of Articles

Understanding Web Services

Written By: Balaji B

Web services is a broad term that represents the technology to transmit data over Internet or Intranet. This data can be accessed programmatically using open standards such as eXtensible Markup Language (XML), Simple Object Access Protocol (SOAP), Web Services Description Language (WSDL), and Universal Discovery Description Integration (UDDI).

The primary advantage of Web services is that it allows applications written in different programming languages or platforms to communicate with each other. This advantage greatly helps developers by reducing the development time and making the connectivity easier. XML is the format that structures data in a series of hierarchical tags. XML is used in Web services because it is human and machine readable and is accepted by all platforms.

SOAP is a standard communication protocol to transport the XML data over networks such as Internet or Intranet. It is the best protocol to expose the web services functionality. SOAP also allows a web service to be routed to the proper location over the network. WSDL is the detailed description of the web service in an XML document. This description consists of details such as where to find the web service, the methods and properties that web service supports, the data types, and the protocols used to communicate with the web service. The web services are registered in a common directory so that the users can access it easily. UDDI is a directory to publish or discover web services.

With regard to web service you can either consume an existing web service or expose a new web service. ASP.NET Web services are source files with .asmx extensions in ASP.NET application. ASP.NET Web services, like ASP.NET web forms gets compiled when they are requested for the first time and the code for the web service resides in a pre-compiled .NET Assembly.

You can also test a web service. When navigating to a web service in a browser, you can check whether all the public methods of the web service are listed on the page. While executing the web service you can test the data integrity of the web service. In addition, you can view SOAP, HTTPGET, HTTPPOST requests and responses. This makes programmatic errors very obvious and thus easy to debug.

To access online version of the above article, go to http://www.dotnet-guide.com/webservices.html

-----------------------------Resource Box---------------------------------
Visit http://www.dotnet-guide.com for a complete introduction to .NET framework. Learn about ASP.NET, VB.NET, C# and other related technologies.
--------------------------------------------------------------------------

Top Articles For Today!
The Write Way to Success

The internet has always being fuelled by an adrenaline rush of information. All this content means more traffic for webmasters and this is the lifeline of any website. Many of the ne....
What SignPoster has to offer!

Take you step-by-step through preparing your web pages for search engines. Analyze and optimize your pages for the highest possible ranking. Submit your pages to search engines and the....
7 Must-Have Traits For Work At Home Success

There are a lot of reasons why so many people fail shortly after starting a home business. In order to achieve your work at home dreams there are certain traits you must possess or acquire. I have....
Some Advertising Is Doomed To Fail

Copyright 2004 Diane Hughes When people are concerned about the lack of response to their advertising, usually they complain about one of two things. They either say, "I put it in all the po....