Parth Doshi
Parth Doshi

Reputation: 4208

Authenticate user via web service in Android app

I have created a web service that allows a user to authenticate his username and password. It returns "Success" when both username and password and correct. Now I need to make an Android app that does almost the same thing by taking a username and password via EditText fields and authenticating the user by calling the web service I have created.

I have created my database in SQL Server 2008 and I have used C#/.NET to create my webservice Here is the web service code

Can anyone tell me how to go about creating the Android app?

Thanks

Upvotes: 0

Views: 1019

Answers (1)

Earl
Earl

Reputation: 811

The HttpClient class should do what you want if you're looking for session maintenance after authentication. If you're looking for a SOAP library, there's nothing on Android, but others have had luck with kSOAP

Upvotes: 1

Related Questions