Write HTTPS web service in asp.net and call it from android -
i have write web service in asp.net , android application takes list providing username , password pair , show result in listview. communication should takes place in ssl manner. web service model must use? there tutorial doing this?
solution splitted 2 parts :
1- creating https web service
steps in brief:
- normally create web site using visual studio
- add web services web site
- deploy in iis
- install server certificates on web server step
- create simple web service
- configure web service virtual directory require ssl
- test web service using browser
tutorials & references :
- https://msdn.microsoft.com/en-us/library/ff649205.aspx
- configure ssl web services
- https://rmanimaran.wordpress.com/2010/06/24/creating-and-using-c-web-service-over-https-%e2%80%93-ssl-2/
- https://support.microsoft.com/en-us/kb/324069?wa=wsignin1.0
2- consuming https web services in android app :
i dont have experiences in android app found lot of tutorials explain trick of consuming https services in android app
tutorials & references :
- https://developer.android.com/training/articles/security-ssl.html
- http://www.mobiledevguide.com/2013/07/how-to-access-https-web-service-in.html
- https://www.daniweb.com/software-development/mobile-development/threads/367301/android-webservices-via-ksoap2-https
- http://www.ipragmatech.com/secure-rest-web-service-mobile-application-android.html#.vtymusgqqko
i hope happy coding :)
Comments
Post a Comment