title: Sending images from gallery to Web Service using SOAP
body: <p>I have trawled the net and can't find any documentation on sending images (or any attachments) to a Web Service using SOAP.</p>
  
  <p>I have been sending text data fine but I now need to send images from the gallery along with the text data, which poses another problem - making two or more async tasks at once. I will need to make 4 calls in total IF the record to send has an image affiliated with it;</p>
  
  <ol>
  <li>Send the text data.</li>
  <li>Check if the file already exists on the server.</li>
  <li>Send the file.</li>
  <li>Link the file with a record on the server using a u_id sent back from the server.</li>
  </ol>
  
  <p>I was advised to use a Base64 method to convert the file to a String then send it but I have a feeling theres a cleaner way of doing it using SOAP (no pun intended).</p>
  
  <p>Any feedback greatly appreciated.</p>
  
  <p><em>*</em> Please note that I was using a httpClient but had to change to using SOAP also I'm relatively new to Android so forgive me if I've said anything stupid here.</p>