A Web Service is can be defined by following ways:
It is a client-server application or application component for communication.
The method of communication between two devices over the network.
It is a software system for the interoperable machine to machine communication.
It is a collection of standards or protocols for exchanging information between two devices or application. "