title: How to set a timeout on a soap call using ksoap2-android?
body: <p>I'm using <a href="http://code.google.com/p/ksoap2-android/" rel="nofollow noreferrer">ksoap2</a> for my android project and it works great. I've succeeded in connecting to distant server but I currently have a problem when I want to set a timeout to my androidhttptransport.</p>
  
  <p>Is there a clean way (maybe an attribute to set?) to deal with it?</p>
  
  <p>I've found this same question <a href="https://stackoverflow.com/questions/1473810/how-do-i-enforce-a-timeout-on-a-webservice-call-using-ksoap-2">there</a> but it's not very detailed. Does someone have any detailed answer to this problem?</p>
  
  <p>Thanks in advance for help!</p>
  
  <p>Romain</p>