How to use Soap Client in android

The first Step:
You have to create a simple activity that declares Soapclient.
here we use Ksoap2 libraray which You can Download Form

———————————————————
package com.mySoap;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

import org.ksoap2.SoapEnvelope;
import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapSerializationEnvelope;
import org.ksoap2.serialization.SoapPrimitive;
import org.ksoap2.transport.AndroidHttpTransport;

public class SoapActivity extends Activity {
/** Called when the activity is first created. */
TextView tv1;
private static final String SOAP_ACTION="http://tempuri.org/CelsiusToFahrenheit";
private static final String METHOD_NAME="CelsiusToFahrenheit";
private static final String NAMESPACE="http://tempuri.org/";
private static final String URL="http://www.w3schools.com/webservices/tempconvert.asmx";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

tv1=(TextView)findViewById(R.id.TextView01);
SoapObject Request=new SoapObject(NAMESPACE,METHOD_NAME);
Request.addProperty("Celsius", "32");

SoapSerializationEnvelope soapEnvelope=new SoapSerializationEnvelope(SoapEnvelope.VER11);
soapEnvelope.dotNet=true;
soapEnvelope.setOutputSoapObject(Request);

AndroidHttpTransport aht=new AndroidHttpTransport(URL);
try
{
aht.call(SOAP_ACTION,soapEnvelope);
SoapPrimitive resultString = (SoapPrimitive) soapEnvelope.getResponse();
tv1.setText("status:"+resultString);

}
catch(Exception e)
{
e.printStackTrace();

}

}
}

Second Step:
You Must have To add Android Permission for sms