i have already search this topic and still don\'t know how to make it work :(
I have a SOAP web service (ASP.NET), and this address (on my localhost) is http://localhos
Use Http Connection
HttpClient httpclient = new DefaultHttpClient();
HttpGet httppost = new HttpGet("http://localhost/");
HttpResponse response = httpclient.execute(httppost);
HttpEntity ent=response.getEntity();
InputStream is=ent.getContent();
You need to set uses-permission - android.permission.INTERNET in AndroidManifest.xml and also test that (http://192.168.43.17:50473/Service1.asmx) url on web-browser.
You may have your web server listening on your loopback interface and not on your network interface. Major signs of this are:
127.0.0.1
and localhost
(from localhost or Android emulator) work192.168.xxx.xxx
do not work, whether from localhost, LAN, or WANI talk more about diagnosing this and fixing this in an answer here.