Just started with web-services so pardon me if my question sounds stupid.
Why do we need web-services? How are they different from normal web applications?
Two uses have been mentioned in many of the tutorials. One is the communication between different machines/applications, which sounds fine. But the next one is to develop reusable application components. My question is, do we need web services for that purpose?
For Eg: A Currency converter can be implemented as a web service and it can be published on a url. But then, the same can be created as a web-application. Where is the actual advantage of using web-services?
Also as per some posts in SO, webservices should be used if no UI is involved and web-applications if a gui is required. Is the choice all that simple?
Note: Here I'm referring to SOAP based web-service. RESTful ones might be different.