Author: webguy42 | Posted on: 7/21/2009 2:36:48 PM | Views : 296

 HI, im trying to create a simple demo app, that takes someones username and password checks it against a database, if the username and password are in the database it says 'hello world, if not is says 'incorrect details etc'
Im using WSE and security token suthentication, I have created the webservice that accepts the security token, im just struggeling to pass the credentials, i have the following class (the problem is passing the security token object with my proxy i think):
Imports System.Web Imports System.Web.Services Imports System.Web.Services.Protocols Imports Microsoft.Web.Services2 Imports Microsoft.Web.Services2.Security.Tokens Imports System.Data.SqlClient Imports Microsoft.VisualBasic Public Class UserToken Inherits UsernameTokenManager Function GetUserToken() As UsernameToken If RequestSoapContext.Current Is Nothing Then Throw New System.Exception("Only SOAP is go ...

Go to the complete details ...