Microsoft recently released the Web Service Extensions (WSE) which opens an exciting new era in the world of Web Service development. Using WS-Security classes within the WSE you can now authenticate Web Service users using X.509 certificates or username/password, digitally sign SOAP messages, and encrypt SOAP messages. In addition to these features, the WSE allows you to route Web Service calls between different machines with WS-Routing and add SOAP attachments with DIME.
This sample application demonstrates one way of authenticating Web Service consumers via username and password. It includes a sample web.config file with the necessary WSE entries, a sample class that implements the IPasswordProvider interface, a test proxy, and other code to show you this SOAP authentication technique.
To learn more about adding authentication into a Web Service with the WSE, watch the following video tutorials created by XML for ASP.NET Developers founder Dan Wahlin. This series of video tutorials demonstrates authenticating Web Service consumers via username and password. It includes a sample web.config file with the necessary WSE entries, a sample class that implements the IPasswordProvider interface, a test proxy, and other code to show you this SOAP authentication technique.
|