我是UCM的新手我尝试使用.net调用UCM中的webservices我收到此错误消息
远程服务器返回错误:(401)未经授权。
来源错误: return base.Channel.QuickSearch(request);
IdcProperty extra = new IdcProperty();
extra.name = "dID";
extra.value = "210";
IdcProperty[] array = { extra };
IdcPropertyCollection _IdcPC = new IdcPropertyCollection();
QuickSearchRequest search = new QuickSearchRequest(searchWord, _IdcPC);
QuickSearchResult result = new QuickSearchResult();
((ClientBase<ISearchSoap>)(client)).ClientCredentials.Windows.ClientCredential = new NetworkCredential("?", "?");
result = client.QuickSearch(searchWord, _IdcPC);