You must Sign In to post a response.
Category: Webservices
#764690
Hi pratik,
You have to set following attribute for a web method inside web service first.
[SoapHeader ("Authentication", Required=true)]
Then you can implement authentication mechanism inside a webservice and for that refer following URL's:
http://www.c-sharpcorner.com/UploadFile/8ef97c/web-service-in-Asp-Net-security-by-soap-authentication-pa/
http://www.codeproject.com/Articles/4398/Authentication-for-Web-Services-using-SOAP-headers
Hope it helps.
Regards,
Shashikant Gurav
shashikantgurav22@gmail.com
You have to set following attribute for a web method inside web service first.
[SoapHeader ("Authentication", Required=true)]
Then you can implement authentication mechanism inside a webservice and for that refer following URL's:
http://www.c-sharpcorner.com/UploadFile/8ef97c/web-service-in-Asp-Net-security-by-soap-authentication-pa/
http://www.codeproject.com/Articles/4398/Authentication-for-Web-Services-using-SOAP-headers
Hope it helps.
Regards,
Shashikant Gurav
shashikantgurav22@gmail.com
#764741
Here you go for the sample code in this regard,
https://msdn.microsoft.com/library/9z52by6a(v=vs.100).aspx
http://www.c-sharpcorner.com/UploadFile/8ef97c/web-service-in-Asp-Net-security-by-soap-authentication-pa/
Regards,
Asheej T K
https://msdn.microsoft.com/library/9z52by6a(v=vs.100).aspx
http://www.c-sharpcorner.com/UploadFile/8ef97c/web-service-in-Asp-Net-security-by-soap-authentication-pa/
Regards,
Asheej T K
Return to Return to Discussion Forum