简体   繁体   中英

Write HTTPS web service in asp.net and call it from android

I have to write a web service in ASP.NET and an android application which takes a list from it by providing a username and password pair and finally show the result in a listview. This communication should takes place in SSL manner. Which web service model I must use? Is there any tutorial for doing this?

Solution will be splitted into two parts :

1- creating Https web service

Steps in brief:

  • normally you create web site using Visual Studio
  • add web services to web site
  • deploy it in iis
  • Install Server Certificates on the Web Server Step
  • Create a Simple Web Service
  • Configure the Web Service Virtual Directory to Require SSL
  • Test the Web Service Using a Browser

Tutorials & References :

2- Consuming https web services in android app :

i dont have much experiences in android app but i found a lot of tutorials explain the trick of consuming https services in android app

Tutorials & References :

i hope this help you happy Coding :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM