manish-kukreja / ksoap2-android

Automatically exported from code.google.com/p/ksoap2-android
0 stars 0 forks source link

Timeout does not occur if web service does not respond in time. #138

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. HttpTransportSE httpTransport = new HttpTransportSE(SOAP_ADDRESS, 10000);
2. Call a web service method that takes longer than the timeout value.

What is the expected output? What do you see instead?
After the timeout an exception should be raised, instead timeout value does not 
exit call, instead sits and waits indefinitely

What version of the product are you using? On what operating system?
ksoap2-android-assembly-2.5.7-jar-with-dependencies.jar

Please provide any additional information below.
The timeout seems to work when there is an error like a loss of connectivity.

Original issue reported on code.google.com by TjaartB...@gmail.com on 18 Oct 2012 at 3:10

GoogleCodeExporter commented 9 years ago
Please close this issue. This is not the cause of the problem. I checked by 
reducing the timeout value and sure enough it does crash. I also checked an 
read timeouts are set in the ksoap code. 

Original comment by TjaartB...@gmail.com on 18 Oct 2012 at 3:24

GoogleCodeExporter commented 9 years ago

Original comment by mosa...@gmail.com on 22 Oct 2012 at 11:55