I use AsyncTask to call a web service and edit its response.

I call my Task like this:

```
new CallWebService().execute(et.getText().toString().trim());

```

where et is an EditText where the user gives his phone number(String).So i pass a string parametre to the execute method.

Then in my CallWebService class that extends the AsyncTask i take the given string and use it as parametre for the Web Service call:

```
private class CallWebService extends AsyncTask<String, Void, Object> 

```

the code of the doInBackround method:

```
        @Override
    protected Object doInBackground(String... phone) {
        Object result = null;

        try {

            SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);

    // if i put "6949861372" manually at the second parametre it works!

            request.addProperty("phone", phone);
            SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(
                    SoapEnvelope.VER11);
            envelope.dotNet = true;
            envelope.setOutputSoapObject(request);
            HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
            androidHttpTransport.call(SOAP_ACTION, envelope);
            result = envelope.getResponse();
        } catch (Exception e) {
                    //do nothing
        }
        return result;
    }

```

If i put "6949861372" manually at the second parametre ((String) phone)it works!So what is wrong here?
So how can i pass the given number from the editText to the doInBackground method?

I can't figure it out!!