I know this is an old question and must have been answered hundred times already, but I am not able to find a satisfactory response as yet.
I am creating an application which will be used by other applications (mobile/ web) to fetch the data. Now I have 2 options:
- Create my application as a simple web application.
- Create a web service.
A web service looks more sophisticated where any client will provide the data in a specified format (SOAP/ REST) and my app will parse the request and return the data asked by client. How the data will be used is not my app's problem.
My question is that same can be achieved by a simple web app accepting the request in XML format and responding with an XML response. Gut feeling is that a web service will be a better way to go for this kind of service where we are not sure who all will be using it. But are there any specific advantages of using a web service over a simple web app?