读书人

关于验证ClientCredentials的有关问题

发布时间: 2013-03-14 10:33:15 作者: rapoo

关于验证ClientCredentials的问题,请大家帮帮忙,谢谢
我在做wp端引用webservice。
在wp端的请求代码是:


var client = new ServiceReference1.WS_LoginSoapClient();
client.ClientCredentials.UserName.UserName = "a";
client.ClientCredentials.UserName.Password = "b";
client.HelloWorldCompleted += client_HelloWorldCompleted;
client.HelloWorldAsync();

请问在服务器端的.asmx文件中怎么来获取到这个ClientCredentials?
[解决办法]
看看这个吧。
http://developer.51cto.com/art/200908/141829.htm

读书人网 >Windows Mobile

热点推荐