Introduction
In this post i will explain about what a web service is , why do we need this and how to use this in our application.
What Is WebService
Web service is a standardised way to work with multi level application. Web service also like a asp.net application but it not work for itself instead it work globally for many application that's the reason it is known as web services.
Web service is an application that is interact with other application over the internet at any time when it needed.
Application who consumes a web service can invoke web service methods by using SOAP (Simple object Access Protocol) and HTTP over the internet.
If you think for a scenerio when as a developer if you need a application which is used by many applications then you simply write a web service for them.
Dataformat used byWeb service
WSDL
WSDL is an acronym for Web Service Description Language. It is an xml based language for describing a Web service.. It describe how to access a web service and what operation it will perform.
SOAP -
SOAP stands for Simple Object Access Protocol. The heterogeneous environment of Web demands that the common data encoding protocol which achieved by SOAP. It is XML based messaging Protocol. Means this protocol transfer data between different machines using XML.
SOAP provides a way to communicate with different machines having different Operating Systems and different programming languages.
XML -
XML stands for Extensible Markup Language. XML is used to encode all communications to a web service. For example, a client invokes a web service by sending an XML message, then waits for a corresponding XML response.
In Web-Service every information or data transferred by XML.
Why Do we need Web Service
If you think for a scenario when your application need a Weather information , Countries list, Zip code based on city, town etc,. Then you have to write code for this and also collect all the information for zip code , that is very time taking process for you . So how can you overcome from this situation , answer is simple by using Web Service.
Web Service is just like a software which is available for your application over the internet any time.
If you need a whether information in your application then you implement a simple service from internet . You don't need to panic about it. All the work done by Service provider. same for Zip-Code and other related services.
If you working with many application and you need this service in two or three of them and you don't want to use other's service then you can create your own service in very simple steps which i describe later in my next update.
What Is WebService
Web service is a standardised way to work with multi level application. Web service also like a asp.net application but it not work for itself instead it work globally for many application that's the reason it is known as web services.
Web service is an application that is interact with other application over the internet at any time when it needed.
Application who consumes a web service can invoke web service methods by using SOAP (Simple object Access Protocol) and HTTP over the internet.
If you think for a scenerio when as a developer if you need a application which is used by many applications then you simply write a web service for them.
Dataformat used byWeb service
- SOAP
- XML
WSDL
WSDL is an acronym for Web Service Description Language. It is an xml based language for describing a Web service.. It describe how to access a web service and what operation it will perform.
SOAP -
SOAP stands for Simple Object Access Protocol. The heterogeneous environment of Web demands that the common data encoding protocol which achieved by SOAP. It is XML based messaging Protocol. Means this protocol transfer data between different machines using XML.
SOAP provides a way to communicate with different machines having different Operating Systems and different programming languages.
XML -
XML stands for Extensible Markup Language. XML is used to encode all communications to a web service. For example, a client invokes a web service by sending an XML message, then waits for a corresponding XML response.
In Web-Service every information or data transferred by XML.
Why Do we need Web Service
If you think for a scenario when your application need a Weather information , Countries list, Zip code based on city, town etc,. Then you have to write code for this and also collect all the information for zip code , that is very time taking process for you . So how can you overcome from this situation , answer is simple by using Web Service.
Web Service is just like a software which is available for your application over the internet any time.
If you need a whether information in your application then you implement a simple service from internet . You don't need to panic about it. All the work done by Service provider. same for Zip-Code and other related services.
If you working with many application and you need this service in two or three of them and you don't want to use other's service then you can create your own service in very simple steps which i describe later in my next update.
0 comments:
Post a Comment