我想通過android訪問此網站服務的鏈接。與Android使用asp web服務
但我不知道什麼是庫或jar文件應該使用來做到這一點。
我用肥皂,但沒有工作意願
這裏是鏈接: http://ictfox.com/demo/Hafil_Updates/Login_Check.aspx?UserLogin=Demo&Password=Demo
我想通過android訪問此網站服務的鏈接。與Android使用asp web服務
但我不知道什麼是庫或jar文件應該使用來做到這一點。
我用肥皂,但沒有工作意願
這裏是鏈接: http://ictfox.com/demo/Hafil_Updates/Login_Check.aspx?UserLogin=Demo&Password=Demo
我認爲你可以使用DefaultHttpClient Android的API來發送GET請求,你所示。
HttpClient httpclient = new DefaultHttpClient();
HttpGet request = new HttpGet();
URI webserv = new URI(" http://ictfox.com/demo/Hafil_Updates/Login_Check.aspx?UserLogin=Demo&Password=Demo");
request.setURI(webserv);
HttpResponse response = httpclient.execute(request);
String responseStr = EntityUtils.toString(response.getEntity());
這是你的教程展示瞭如何使用協議SOAP
http://android.programmerguru.com/how-to-call-asp-net-web-service-in-android/
你必須解釋你的一點點您的解決方案如何工作 – lpratlong
這不是一個SOAP API調用android應用web服務。你只能得到真正的回報...... –
你需要在研究上做出更大的努力!檢查這裏:http://chintankhetiya.wordpress.com/2013/05/27/83/ – Merlevede
這個例子顯示關於webservice的一般信息,我需要一些方式來調用和獲得asp webservice在android – user3245658