title: Android - MalformedURLException on HTTP request
body: <p>I'm fairly okay at programming so this is a wierd one for me...</p>
  
  <p>I'm attempting to pull a value from Mantis Bug Tracker to display on my Android app. To do this I'm accessing Mantis' SOAP interface using the kSOAP2 library.</p>
  
  <p>The error i get is a MalformedURLException with these details</p>
  
  <blockquote>
    <p>Protocol not found: /api/soap/mantisconnect.php</p>
  </blockquote>
  
  <p>The URL is built from a user entered URI with a String attached onto the end:</p>
  
  <pre><code>String fullUrl = HOST + "/api/soap/mantisconnect.php/mc_version?wsdl"; 
  trans.call(fullUrl, soapEnvelope);
  </code></pre>
  
  <p>HOST is passed in successfully, i have seen this through debugging variables and fullUrl equates to:</p>
  
  <pre><code>http://192.168.1.98/mantis/api/soap/mantisconnect.php/mc_version?wsdl
  </code></pre>
  
  <p>This is copied right out of the debug view for the HOST variable in Eclipse.</p>
  
  <p>The point at which the program errors out is at trans.call(); where trans is an HTTPTransportSE object provided in the kSOAP2 libraries. The URL that is defined in trans is (oddly?):</p>
  
  <blockquote>
    <p>/api/soap/mantisconnect.php</p>
  </blockquote>
  
  <p>So to me this problem appears to lie in a parse issue within the HttpTransportSE object, for which source can be found <a href="http://ksoap2.svn.sourceforge.net/viewvc/ksoap2/trunk/ksoap2/ksoap2/src_j2se/org/ksoap2/transport/HttpTransportSE.java?revision=148&amp;view=markup" rel="nofollow">here</a> extending transport.java (i can't put a link as it thinks im spamming but you can find it in that SVN).</p>
  
  <p>Normally by this point, i've spotted the problem and never have to hit the submit button but i'm having real issues with this =(. All help welcome &amp; necessary!</p>