0

I want to consume a SOAP Webservice in android, created in .NET framework and using it want to check the username and password.

How to check the username and password entered by user with the data which is stored on Server using webservice?

K Neeraj Lal
  • 6,560
  • 3
  • 21
  • 32
Anjali Patel
  • 675
  • 2
  • 9
  • 21
  • see this. hope its help you.http://androidexample.com/Dot_Net_Webservice_Call_-_Android_Example/index.php?view=article_discription&aid=100 – Vishal Thakkar Oct 14 '16 at 06:05
  • I already worked on that project. Always getting an error - java.net.SocketTimeOutExcepton : Connection timed out @K Neeraj Lal – Anjali Patel Oct 14 '16 at 07:54

2 Answers2

0

Use okHttp library for android.This library will provide you all the HTTP methods to consume Webservice.

Arpit
  • 1
  • 1
  • 1
0

Yes you need to use kSOAP library for it

for more about kSOAP Library check it :

http://kobjects.org/ksoap2/index.html

and set your webservice class like :

How to call a SOAP web service on Android

Community
  • 1
  • 1
Yash ajabiya
  • 136
  • 2
  • 8