title: Creating a webservice for android application
body: <p>I have created an application where i am fetching some data from a webservice,which gives the output in xml form.The url is given by a third person ..now i want to create my own webservice ,which should give me the output into the xml format.</p>
  
  <p>I am totally new in webservice and advance java programming ,but i am quite experienced in core java.
  My question is where should i start to learn this , i tried to search some example to create webservice in java but i was not able to get any good tutorial.</p>
  
  <p>It would be appreciated, if any body help me understand the flow of invoking a webservice in java,that how a webservice fetch the data from a database ,and how it works..?</p>
  
  <p>Thanks..</p>