title: Handling timeout while using Ksoap2 in android
body: <p>I am calling a method of another class from my activity that calls a webservice using ksoap2. I want to handle timeout for this. If the method takes more than 10 seconds to execute, then I need to show an alert dialog indicating that the process was not successful. </p>
  
  <p>I tried using the timeout value as follows: </p>
  
  <pre><code>HttpsTransportSE transport = new HttpsTransportSE(URL,TIMEOUT);
  </code></pre>
  
  <p>but ksoap2 is ignoring the timeout for some reason. I'm using ksoap2 2.6.5. </p>
  
  <p>Is there any way where in I can execute the method for 10 seconds and then display the appropriate dialog box indicating a success or failure in android? </p>