WEB Service Part 1

This article is about Web Services i this part i just discussed about the introduction as simple as i can


What is Web service?


As the name impels it is a service i.e. its purpose is to serve or we can say that we request and it do the work for us.
Web service is the piece of code. It is an API (Application programmable logic) which communicates using open protocol of webs like XML for data description and HTTP for transportation. It is self-contained and self describing (which means that Consumers of a Web Service do not need to know anything about the platform, object model, or programming language used to implement the service; they only need to understand how to send and receive SOAP messages (HTTP and XML)).
If we talk in simple word web service exposed number of methods that provide functionality that can be used by one or more user.
The methods that provide such functionality are called web method and functionality exposed by WS (web service) is accessed by using internet protocol such as SOAP, HTTP etc.


Why Web Service?



Now a days application are multi-functional and there functionality are presented in form of dll(Dynamic Link Library). When the application is given to user these dll are also given to them.
So, when ever there is updating in the dll they must be redistributed. By some how or must be kept in some common place so that user can access it .
By that way web is common place and dll provide services; if we club them it become (WEB SERVICES)
WS Gives us the following advantage.

Interoperability has Highest Priority


When all major platforms could access the Web using Web browsers, different platforms could interact. For these platforms to work together, Web applications were developed.
Web-applications are simple applications run on the web. These are built around the Web browser standards and can mostly be used by any browser on any platform.

Web Services take Web-applications to the Next Level


Using Web services, application can publish its function or message to the rest of the world.
Web services use XML to code and to decode data, and SOAP to transport it (using open protocols).
With Web services, your accounting department's Win NT server's billing system can connect with IT supplier's UNIX server.

Web Services have Two Types of Uses


Reusable application components.
There are things applications need very often. So why make these over and over again?
Web services can offer applications components like currency conversion, weather reports, or even language translation as services.
Ideally, there will be only one type of each application component, and anyone can use it in their application.
Connect existing software.
Web services help to solve the interoperability problem by giving different applications a way to link their data.
With Web services you can exchange data between different applications and different platforms.





Web Services Platform Elements?



Web Services have three basic platform elements: SOAP, WSDL and UDDI.
What is SOAP?
SOAP is a simple XML-based protocol to let applications exchange information over HTTP. Soap is a protocol for accessing a Web Service. It stands for Simple Object Access Protocol, format for sending messages, designed to communicate via Internet, platform independent, language independent, based on XML, simple and extensible, allows you to get around firewalls.

SOAP Architecture



When a client application makes a request for a web method a soap packet is created this packet keep the name of the parameter to be passed in an xml format .When a soap packet arrive at the web server on which the web services reside, the web method name and its parameter are extracted from Soap packet and appropriate web method is evoked and response is send as soap response.

What is WSDL?


WSDL is an XML-based language for describing Web services and how to access them.
It stands for Web Services Description Language and based on XML, used to describe Web services used to locate Web services.





What is UDDI ?


UDDI is a directory service where businesses can register and search for Web services.
• UDDI stands for Universal Description, Discovery and Integration
• UDDI is a directory for storing information about web services
• UDDI is a directory of web service interfaces described by WSDL
• UDDI communicates via SOAP
• UDDI is built into the Microsoft .NET platform
It has 3 components:-
• White Pages — address, contact, and known identifiers;
• Yellow Pages — industrial categorizations based on standard taxonomies;
• Green Pages — technical information about services exposed by the business.


Check out my next part on web service for code and it description..


Attachments

Comments

Author: ChandraShekar Thota03 Jan 2009 Member Level: Gold   Points : 0

Good one

Chandrashekar Thota(Editor, MVP)

Author: Nikhil Agarwal05 Jan 2009 Member Level: Gold   Points : 1

Hi,

Nice article,

we can learnt alot from this.

thanks!

Keep it up.

Author: Kiran05 Aug 2009 Member Level: Bronze   Points : 1

Hi!

Thanks, for your awesome tutorial.

Kiran

Author: Abhay Kumar Raut20 Aug 2009 Member Level: Gold   Points : 1

Hi Misra,

good one .

keep it up.

contribute more.

Thanks and Regards
Abhay



  • 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: