What are web Services
In simple team Web service is re-usable business logic on internet can consume by another application which needs the same logic. Web Service is a web functionality (that contains/defines Web Methods) which is hosted over internet so that we can use it in multiple applications.
A
Web Service is application logic accessible to programs via standard web
protocols, Web method is part of the web service. Web Services is application
logic which can be used in other for applications to communicate with each
other in a platform and programming language-independent way. A web service is
an interface of a software component which describes a collection of operations
that can be accessed through XML messages.
Why Web Services?
- Its platform-independent and language-independent,
since they use standard XML languages
- Exposing your API onto a network connecting different applications
- Connect existing software.
- Exposing
the existing function on to network
- Business opportunity to grow your business
- Almost every type of business can benefit from Web
services such as expediting software development, integrating applications
and databases, and automating transactions with suppliers, partners, and
clients.
How it works
Web Services operate on a service-based model. In this model, the web service resides on the web server. A client computer can request and consume this web service and terminate the service as and when desired.
Example
Share market with stock quote on web site is one of the command examples for web service. Pay-TV, we can build web sites that can generate revenue for each request a user sends (monthly subscription). Attach is a sample code where ItemCode is passed to webservice which will generate barcode.
Source Code ( Use file ==> Download option )
About Author
Please find the link to download same source code. Use File --> Download option to download the code.
ReplyDeletehttps://docs.google.com/file/d/0B1j55C1e40jOdUpaMmZJOHNpemM/edit?usp=sharing