Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java version backward compatibility #196

Open
GoogleCodeExporter opened this issue Jul 9, 2015 · 1 comment
Open

Java version backward compatibility #196

GoogleCodeExporter opened this issue Jul 9, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 22 Aug 2014 at 7:18

@GoogleCodeExporter
Copy link
Author

With the next release we are switching to Java 5. 

Original comment by [email protected] on 13 Jan 2015 at 6:20

  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant