http - How to call web service to achieve login system in Android? -
i have xml project. login sample code http://10.99.99.99:8087/item/services/itemservice <soapenv:header/> <soapenv:body> <ser:userlogin> <!--optional:--> <arg0>admin</arg0> <!--optional:--> <arg1>admin</arg1> </ser:userlogin> </soapenv:body> </soapenv:envelope> if succeed <soap:body> <ns2:userloginresponse xmlns:ns2="http://services.ws.item/"> <return> <result>1</result> <msg>login succeed</msg> </return> </ns2:userloginresponse> </soap:body> </soap:envelope> if not succeed <soap:body> <ns2:userloginresponse xmlns:ns2="http://services.ws.item/"> <return> <result>-1</result> <msg>login failed</msg> </return>...