This tutorial outlines difference (comparison) between WSClient++ and KSoap tool to connect web services.
Sample Web Service
Lets consider a very simple web service, that will return simple “Hello World” string.
KSoap Web Service Call for Android
Wow, you can see just to call one method, there is 18 lines of code. Well unfortunately you have to write this manually.
WSClient++ Web Service call for Android
WSClient++ generates source code that does all SOAP parsing/encoding for you on the fly. And the code that you have to use in your project will be as small as below,
The total lines of code is now 6, and that too, actual service call is as small as just one line. However, in order to write KSoap call on asynchronous, you have to wrap your code around AsyncTask and write more code, where else with WSClient++ it is very easy to write asynchronous call, which works perfect without any hassle.
|Automatic Code Generator||YES||NO|
|Automatic Type (Class) generation for every Soap Input/Output||YES||NO|
|Class with IParcelable Implementation||YES||NO|
|On the fly Encoding||YES||NO|
|Execution Time on Client||Small||Big|
|.NET Service Call Detection||Auto||Manual|
|Automatic Asynchronous Call Class Generator||YES||NO|