lijinchang

导航

2013年4月19日 #

WebService三种验证方式

摘要: Web Service 验证方式<一>SoapHeader验证 服务端代码:注意第7行,需要加[SoapHeader("authHeader")] 特性。1 public class GetDataList : System.Web.Services.WebService2 {3 public AuthHeader authHeader;4 5 6 [WebMethod]7 [SoapHeader("authHeader")]8 public string GetBookList()9 {10 string xmlStr = string.E 阅读全文

posted @ 2013-04-19 14:11 lijinchang 阅读(565) 评论(0) 推荐(0) 编辑