What is the difference between web services and web applications?


Web applications are accessed by users mainly by a web browser or a mobile device.

A Web service is any piece of software that makes itself available over the Internet. Think of a web service as a collection of methods which are made available by the web service creator for use by other applications. These other applications access these methods over the Internet and exchange data with the web services via XML format.

A wide variety of applications can benefit from a web service (not only web applications, but also windows applications or other web services & so on).

An example of a web service would be one which validates credit card numbers. Hence, another web application might make use of that web service through calling its methods. Another example of a web service is the .NET passport.

Hope this helps.