Sorry,
I forgot to mention it works fine in version ksoap2-android-assembly-3.0.0-jar-with-dependencies. I have been using it for months.
I updated to ksoap2-android-assembly-3.1.0-jar-with-dependencies and the issue started occurring.
I have since rolled back to ksoap2-android-assembly-3.0.0-jar-with-dependencies.jar and it is fine again.
[Perhaps I am not using the latest version correctly.]
p.
--
You received this message because you are subscribed to a topic in the Google Groups "ksoap2-android" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ksoap2-android/nwx0MCo4js4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ksoap2-androi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "ksoap2-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ksoap2-androi...@googlegroups.com.
The keep alive header used to be hardcoded to be always there.. and with 3.1. it got removed since it caused issues for many users..
--
You received this message because you are subscribed to a topic in the Google Groups "ksoap2-android" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ksoap2-android/nwx0MCo4js4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ksoap2-androi...@googlegroups.com.
if if (UseHTTPS) {aHTTP = new KeepAliveHttpsTransportSE(mHttpsServerURL, mHttpsPort, mServiceFile, mhttpsTimeOutUpload);} else{aHTTP = new HttpTransportSE(mURL);aHTTP.getServiceConnection().setRequestProperty("Connection", "close");}If you need the keep alive header you could try adding the property back in using something like below.aHTTP.getServiceConnection().setRequestProperty("KeepAlive","false");// true?
--
CustomHttpTransportSE.java class instead of HttpTransportSE.java due to my proj requirement. Include
connection.setRequestProperty(
"Connection", "close"); along with other properties.
I have tested it on ksoap2-android-assembly-3.1.1-jar-with-dependencies.jar it works fine.
Thanks,
Android developer