Web Service can be thought of as a combination of a web site and a windows service. It exposes some functionality over a web.
For example you have a library and you write a function to display the list of books and you expose this as a web service, now anyone can use this function in his application to display this list of books.
So the functionality written by you can be reused by developers and the results can be displayed in the format he wants.
For example you have a library and you write a function to display the list of books and you expose this as a web service, now anyone can use this function in his application to display this list of books.
So the functionality written by you can be reused by developers and the results can be displayed in the format he wants.