摘要: 转http://developer.51cto.com/art/200908/141829.htmWeb Service身份验证解决方案一:通过通过SOAP Header身份验证。1.我们实现一个用于身份验证的类,文件名MySoapHeader.csMySoapHeader类继承自System.Web.Services.Protocols.SoapHeader。且定义了两个成员变量,UserName和PassWord,还定义了一个用户认证的函数ValideUser。它提供了对UserName和PassWord检查的功能using System; using System.Data; usi.. 阅读全文
posted @ 2013-03-15 11:40 吃西瓜最快 阅读(209) 评论(0) 推荐(0) 编辑