How I can parse this type of webservices in android? Kindly see the below images. I created this webservices in .net, now I want to parse and consume that Login webservice in Android. Kindly anyone help it would be highly appreciated. Thanks
SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /Service.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/Login"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Login xmlns="http://tempuri.org/">
<username>string</username>
<password>string</password>
<apptypecode>string</apptypecode>
</Login>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<LoginResponse xmlns="http://tempuri.org/">
<LoginResult>string</LoginResult>
</LoginResponse>
</soap:Body>
</soap:Envelope>
It's "KSOAP webService", they have lot of tutorial.
http://karanbalkar.com/2014/03/tutorial-78-using-ksoap2-in-android/
Exemple for login webservice https://github.com/thira/blog-demos/tree/master/android-kSOAP2-example
http://programmerguru.com/android-tutorial/how-to-call-java-web-service-in-android/