manish-kukreja / ksoap2-android

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

AndroidServiceConnection is using wrong httpclient library version #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. AndroidServiceConnection class uses classes from package 
org.apache.commons.httpclient, which is not available in android.jar
2. If you try to use AndroidHttpTransport class to call a web service, 
android application closes unexpectedly.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

android-sdk-windows-1.1_r1, and  ksoap2-android-2.2-jar-with-
dependencies.jar (  Version 2.2 release of ksoap2-android with all 
dependencies included )
On windows XP.

Please provide any additional information below.

Original issue reported on code.google.com by sunilp...@gmail.com on 29 Apr 2009 at 12:07

GoogleCodeExporter commented 9 years ago
Hi, 

I have already solved the migration to Apache HttpClient 4.x of ksoap2, also I 
use
the built in XMLPullParser of Android. As soon as I get developer access I can 
commit
the changes if you agree.

Robert Bodo 

Original comment by Robert.B...@gmail.com on 19 May 2009 at 9:11

GoogleCodeExporter commented 9 years ago
Robert, have the changes been committed? Otherwise, please attach the builds 
here so we can try them out.

Original comment by denravon...@gmail.com on 5 Jun 2009 at 4:00

GoogleCodeExporter commented 9 years ago
Looks like a version of the Android SDK after Jorge's original patch switched 
from
commons-httpclient-3.1 to org.apache.httpcomponents-httpclient-4.x.

However, it seems that ksoap's regular HttpTransportSE works just fine with 
recent
versions of the Android SDK.  I have a patch in-progress to the 
AndroidHttpTransport
and AndroidServiceConnection to update them to the new httpclient version but 
I'm not
sure there's any longer a need for those classes.

Original comment by karl.mic...@gmail.com on 17 Aug 2009 at 1:05

GoogleCodeExporter commented 9 years ago
Robert, if you'd like to attach your patch here or put it up in a Git repo 
somewhere,
I will push out a build with it included.

In the mean time, I'm going to push out a build where the AndroidHttpTransport 
just
extends directly from HttpTransportSE.  It works for my application and I'd be 
happy
to look into resolving any problems that crop up for other folks.

Original comment by karl.mic...@gmail.com on 17 Aug 2009 at 1:15

GoogleCodeExporter commented 9 years ago
Alright, that's been taken care of in
http://github.com/karlmdavis/ksoap2-android/commit/9d7ded7dd4e51ac83da46bf85a7f0
a182e307e8c

It will be included in the next release, which should be later today.  Please 
me know
if you run into any problems with it, though it seems to be working fine on my
unlocked Android 1.5 phone.

Original comment by karl.mic...@gmail.com on 17 Aug 2009 at 1:47

GoogleCodeExporter commented 9 years ago
Issue 5 has been merged into this issue.

Original comment by karl.mic...@gmail.com on 17 Aug 2009 at 1:48

GoogleCodeExporter commented 9 years ago

Original comment by karl.mic...@gmail.com on 17 Aug 2009 at 3:04