I don't know why am i not able to get this?....maybe i am missing something or am plain dumb
I want trying to call webservice from a Android App
Now to do this came across that kSOAP 2 for Android is the library that would be needed
However, i see many guys in many posts pointing that one would have to include the jar for ksoap2 for android platform in eclipse
But which jar to include ?
At "http://code.google.com/p/ksoap2-android/" i see a link to git source where entire source is there.....so is it that i take files needed and make a jar out of it.
Also i see many guys saying to include the jar file ending with "-dependencies"....however, downloading such a file seems to be an issue....i just don't get the file with correct size.
So, which is the jar file to include in eclips开发者_如何学JAVAe for calling webservices w.r.t. kSOAp 2 ?
Thanks Yogurt
You want to include file: ksoap2-android-assembly-2.5.2-jar-with-dependencies.jar' My file is 142 KB, or 145,350 bytes. You don't need to make the jar directly, it can be downloaded here.
Also, this video here you'll probably fine quite helpful.
You are using Eclipse or some other IDE? You can use the project properties and add this JAR as dependency.
Go here: http://ksoap2.sourceforge.net/
Or: http://sourceforge.net/projects/ksoap2/
And there is a download link.
The How to Use wiki page of the project I wrote explains if for using a Maven as well as an Ant or Eclipse based build.
For Eclipse usage you basically download the jar with dependencies by clicking on the "View Raw File" link and put it into the lib folder of your app project. If that folder does not exist you have to add it. Then you have to add it to the classpath in Eclipse and you are done.
http://code.google.com/p/ksoap2-android/wiki/HowToUse
精彩评论