title: Post information to server and receive XML
body: <p>On my web server I will be creating a custom XML file for a client app to access.   This means I must authenticate the client and then give the client the XML file.</p>
  
  <p>I believe the client application will need to post data (login, password) to the server and once a connection is established, it will receive the XML file from the server (most likely PHP).</p>
  
  <p>If you have any advice, it would be most welcomed: particular classes to look at and any potential dangers.</p>
  
  <p>I found something relevant in C#, however I am limited to Java as the app will be for Android.</p>