I am currently working to understand SOAP protocol with C#, I find some examples in Google and understand the envelope, header, body.
I authenticate with the webservice but I want to know where can I to implement a class or method to access a database with the user and password provided, I mean, soap header has user="john" pass="odos223kiwi0X" the server received the header, now access to database with the user provided and check the password.
if a right option create a custom method in the soap Class to do it?
you can create a class just as the following :
and now we create the asmx service:
create a web service and add this under the namespace :
then add your function and Object[] as returning value.
** you can download http://www.fiddler2.com/fiddler2/version.asp that will allow you to see and trace the out going requests
please send me back if you need any farther info.