Since Android emulator run on Virtual Machine therefore you have to use this
private static final String URL = "http://10.0.2.2:7642/Service1.asmx";
instead of
private static final String URL = "http://localhost:7642/Service1.asmx";
And then
protected String doInBackground(String... HelloWorldResult)
{
.....
SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
request.addProperty("billId", HelloWorldResult[0]);
.....
}
As you are trying now...