RE:Got an error while using Web service
<pre><code>import org.ksoap2.SoapEnvelope;
import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapPrimitive;
import org.ksoap2.serialization.SoapSerializationEnvelope;
import org.ksoap2.transport.AndroidHttpTransport;
import org.ksoap2.transport.HttpTransportSE;



public class FirstWebActivity extends Activity {
    /** Called when the activity is first created. */

    String SOAP_ACTION="http://tempuri.org/HelloWorld";
    String METHOD_NAME = "HelloWorld";
    private static final String  SumsoapAction = "http://tempuri.org/add";
    private static final String  methodName = "add";
    private static final String UrlNamespace = "http://tempuri.org/";
    private static final String URL = "http://10.10.206.105/Webservicetest/service.asmx";


    TextView tv1;
    EditText Ed1;
    EditText Ed2;@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        tv1 = (TextView)findViewById(R.id.Result);
        Ed1 = (EditText)findViewById(R.id.firstValue);
        Ed2 = (EditText)findViewById(R.id.SecondValue);

        SoapObject sum_request = new SoapObject(UrlNamespace, methodName);
        Log.d("sum_request", sum_request.toString());
        //PropertyInfo pro1 = new PropertyInfo();
        String strA = Ed1.getText().toString();
        String strB = Ed2.getText().toString();
        sum_request.addProperty("a", strA);
        sum_request.addProperty("b", strB);
        Log.d("sum_request", sum_request.toString());
        SoapSerializationEnvelope sum_envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
        Log.d("sum_envelope", sum_envelope.toString());
        sum_envelope.dotNet = true;        
    }
</code></pre>
