A Web Service (XML Web Service) is a unit of code that can be activated using HTTP requests.
A major advantage of the Web services architecture is, it allows programs written in different languages on different platforms to communicate with each other in a standards-based way.