You are on page 1of 4

Created by: HEMAL FOFARIA

Index
1 What are web Services............................................................................2
2 Why.........................................................................................................2
3 How it works...........................................................................................3
4 Example...................................................................................................3
Created by: HEMAL FOFARIA

1 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.

2 Why
1. Its platform-independent and language-independent, since they use standard
XML languages
2. Exposing your API onto a network connecting different applications
3. Connect existing software.
4. Exposing the existing function on to network
5. Business opportunity to grow your business
6. 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.
Created by: HEMAL FOFARIA

3 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.

4 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.
Created by: HEMAL FOFARIA

You might also like