关于验证ClientCredentials的有关问题,请大家帮帮忙,多谢
关于验证ClientCredentials的问题,请大家帮帮忙,谢谢
我在做wp端引用webservice。
在wp端的请求代码是:
请问在服务器端的.asmx文件中怎么来获取到这个ClientCredentials?
------解决方案--------------------
看看这个吧。
http://developer.51cto.com/art/200908/141829.htm
我在做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