What is a Web Service?
Web service is a way of calling of a function which is inside a software from some other software.
The software which gives a call is called a client and the software which serves the request is called the server. This two software's need not to be written in same programming language. client can be written in java and the server can be written in .NET. This two software's need not to be on the same machine, but their should be network connecting client and the server.
For example if two software want to communicate as shown in the figure then the two
things are required.
1. Medium: It is used to transfer the data between the two software's or client and the server.
LAN, Internet can be used as a medium using some protocols like HTTP to established the connection.
2. Format of Input and Output Messages: The format is very important to transfer the
data between the two software's. Here we used two protocols SOAP (Simple Object Access Protocol) and REST (Representational State Transfer).
Web service is a way of calling of a function which is inside a software from some other software.
The software which gives a call is called a client and the software which serves the request is called the server. This two software's need not to be written in same programming language. client can be written in java and the server can be written in .NET. This two software's need not to be on the same machine, but their should be network connecting client and the server.
For example if two software want to communicate as shown in the figure then the two
things are required.
1. Medium: It is used to transfer the data between the two software's or client and the server.
LAN, Internet can be used as a medium using some protocols like HTTP to established the connection.
2. Format of Input and Output Messages: The format is very important to transfer the
data between the two software's. Here we used two protocols SOAP (Simple Object Access Protocol) and REST (Representational State Transfer).

