title: Creating Web Service for Android Application
body: <p>I've been reading some info about <code>Web Services</code> for Android using <code>SOAP</code> or <code>REST</code> but I've never created a web service so I have many questions about this. </p>
  
  <p>I'm developing an Android App where the users answer some questions and for each user an XML file is generated and saved in the device. </p>
  
  <p><strong>Here are my queries:</strong></p>
  
  <blockquote>
    <ol>
    <li><p>What I would like to do is to send these XML files from the devices to the Web Service and also sometimes to retrieve all the files to any
    device. </p></li>
    <li><p>Do I need to convert these files into Byte or just send the XML?</p></li>
    <li><p>Are these actions possible with the Web Service or will you use Java Sockets? In case you prefer the Web Service, what would you use:
    REST, SOAP.</p></li>
    </ol>
  </blockquote>
  
  <p>I would appreciate some links to tutorials and piece of advise.</p>