The android.jar file is 11MB!
Android does not contain any tools to help building SOAP based web service clients.
Google seems to like REST services. The SDK is not bundled with any SOAP-related tools.
An alternative is to add kSOAP 2 to (Java ME) projects ... Or better we can use ksoap2 for android
If an Android Activity access the internet via HTTP connection
the following line must be added to
In general the Android API is very complete and offeres support for a whole lot of features and task. I did however have to find out that SOAP support is generally non existant. Given the widely known problems with SOAP and the trend towards simpler REST based services and the young age of the Android platform this is not too surprising. However in reality many people still need to work with legacy SOAP services.
When you research on the web for SOAP support libraries on embedded devices including Android
you end up running into KSOAP and KSOAP2.
KSOAP2 library is used on J2ME devices like RIM Blackberry, and now Android.
On Android KSOAP2 is alive :
Unfortunately everything around KSOAP for JavaME seems to be rather old and inactive.
The project has a few issues assigned and had no activity for a while.