madhudashore / ksoap2-android

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

Java version backward compatibility #196

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have Java 1.4;
2. Make a call to a WS using the latest build of ksoap2-android.

What is the expected output? What do you see instead?
Expected: the call is successful.
Output: some classes aren't backward compatible, they need at least Java 1.5 to 
work. Some methods like timeout methods from java.net.URLConnection were 
implemented only on Java 1.5. So, I commented the timeout methods calls 
(setConnectTimeout(int) and setReadTimeout(int)) and the 
setFixedLengthStreamingMode(int) at ServiceConnectionSE.java to work. Also I 
needed to change the used kxml2 package for the 2.3.0 available at maven 
because the one used in this build generated errors because has methods not 
available on Java 1.5.

What version of the product are you using? On what operating system?
ksoap2-android-3.3.0 on Unix.

Please provide any additional information below.

I think there's two possibilities here: changing the documentation saying that 
the ksoap2-android isn't anymore compatible with Java versions older than 1.5 
or made those changes to the ksoap2-android.

Original issue reported on code.google.com by santos.f...@gmail.com on 22 Aug 2014 at 7:18

GoogleCodeExporter commented 9 years ago
With the next release we are switching to Java 5. 

Original comment by mosa...@gmail.com on 13 Jan 2015 at 6:20

GoogleCodeExporter commented 9 years ago
The project is migrating to github. If you believe this issue is still valid 
and should be tracked please file a new issue at 
https://github.com/simpligility/ksoap2-android/issues

Original comment by mosa...@gmail.com on 7 Aug 2015 at 5:35