Этот фрагмент кода работает для меня, также как и для вас:
String webServiceResponse = null;
SoapObject result = null;
String url ="http://a.com/service.asmx";
String soapaction = namespace + method;
SoapObject request_login = new SoapObject(namespace, method);
request.addProperty(<field_name>, <value>);
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(
SoapEnvelope.VER11);
envelope.dotNet = true;
envelope.setOutputSoapObject(request);
try {
AndroidHttpTransport androidHttpTransport = new AndroidHttpTransport(
url);
androidHttpTransport.call(soapaction, envelope);
if (envelope.bodyIn instanceof SoapFault) {
String str = ((SoapFault) envelope.bodyIn).faultstring;
Log.i("", str);
webServiceResponse = null;
} else {
result_login_String = (SoapObject) envelope.bodyIn;
webServiceResponse = result.getProperty(0)
.toString();
}
} catch (Exception e) {
webServiceResponse = null;
}