In This example calling dot net webservice to get/send data to server. Using ksoap2-android-assembly-2.4-jar-with-dependencies.jar to make soap call. Accessing a live web service ConvertWeight from http://www.webserviceX.NET/ which convert weight from one unit to another.
Steps :
1. Add jar ksoap2-android-assembly-2.4-jar-with-dependencies.jar in your project. 2. Creating class WebserviceCall.java and define webservice namespace and url and make soap call. Accessing a live web service ConvertWeight from http://www.webserviceX.NET/ which convert weight from one unit to another. 3. Call WebserviceCall.java object to call getConvertedWeight method. 4. Showing response in a toast(alert) and on screen.