I'm using a Webservice on which im using SOAP Headers. I need to validate the SOAP Header userName and Password from the DataBase. Is it possible to achieve it??
The way im currently working is
if (AuthenticateUser.UserName == "smilu1" && AuthenticateUser.Password == "smilupass")
{ /*mycode*/ }
In this you can see I have hard coded the UserName and Password. I don't want to work like this. Instead I need to access it from the DataBase so that I will have full control on it.
Is this possible to do??