Generally a web service talks to a remote database to fetch required data. In my case, I have a web service that gets the data from another web application (given the http url). Both are java based...