【发布时间】:2010-08-27 10:54:59
【问题描述】:
我正在尝试使用 Web 服务访问 SharePoint 列表,我需要通过 Web 服务相应地更新它。以下是我正在使用的示例代码
Lists Testlist = new Lists();
Testlist.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
Testlist.PreAuthenticate = true;
XmlNode myNode = Testlist.GetList("sample list");
.
.
.
但是,当我尝试使用 Web 服务的 Testlist.getList() 方法时,我得到了“Microsoft.SharePoint.SoapServer.SoapServerException”类型的异常。
我已经为此付出了很多努力,但仍然没有找到合适的解决方案。
谁能帮我解决这个问题... :(
【问题讨论】:
标签: web-services sharepoint list