Simple tutorial on Web Services


Simple tutorial on Web Services and its uses. Concepts in Web services. Uses of web services. Define SOAP and WSDL in Web services in .NET. Uses of UDDI. Easy explanation on webservices. Web services concepts for beginners.

Introduction
What does Web Services mean?. First of all what is services. All websites provides services to its users or customers. For instance, a news site BBC retrieves detailed news when user enters news category and display it to the user, a bank site provides transaction tracking service to its customer and so on. So information delivery is a service. Web service is just about anything on the web. It's all about making web programmable rather than collection of web pages.

To put simple, Web Service is a component, running on a server that expose public interface which is callable wia HTTP. Web Service can be written in any programming language in .Net Suite as well as an application can contain any number of Web Services.

WEB NETHOD:

A Web Service exposes method that provide functionality and this kind of method is been named as Web Method. For example, RetrieveStockPrice is a Web Method which accepts Stock Code as input parameter and gets the latest price of the stock. These methods can be accessed by application through internet standards SOAP. This is a protocol which uses XML to describe data and HTTP to transfer application data.

REQUIREMENTS TO ACCESS WEB METHOD:


A commond data representation(XML)

A standard method for message communication(SOAP)

A standard format to describe Web Services(WSDL)

A mechanism to discover and locate web services(UDDI)


XML:
XML is cross-platform, hardware, software indepedent markup language. So XML comes in use. A client application passes arguments to web method and the method returns some data that is to be used by client application, regardless of of hardware,software platform. So XML is been used to describe data.


SOAP:
SOAP is an ideal mechanism to communicate with Web Service because it provides implementation-independent ifrastructure i.e we don't need to run vendor's operating system to interact which is a essential factor while communicating with Web Services.


WSDL:

WSDL stands for Web Services Description Language. To use Web services one should know the details of the web methodds been exposed by web services and type and number of arguments to be passed. WSDL an XML vocabulry, standard method to describe the methods exposed by web services.

WSDL document provides information such as web services available in a web site,its purpose,format,URL at which web service can be accessed.

UDDI:

It is a standard mechanism to register and discover a web service. To begin with a web service should be described in WSDL and then register in UDDI. UDDI contains pointer to web service and its document.

That's all about Web Services.


Comments

Author: manish choyal30 Apr 2005 Member Level: Bronze   Points : 0

Hello,
And ur article is quite good, but dont u think u should have explained it further.
Regards
Manish
manishchoyal [AT] yahoo.com

Author: Brainstorming Guy03 May 2005 Member Level: Gold   Points : 0

Hai,
Good article. If you have provided an example and a bit explanation, the it will lot better.
Thanks for providing the article. Keep it up.

Regards,
Brainstorming Guys

Author: Mahiban Walter P.V09 Jun 2005 Member Level: Bronze   Points : 0

better be clear about thing ....



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: