How can I consume Sharepoint web services so that I can be able to use Sharepoint document library in the stand alone asp.net application. I have added the web reference to http://<server-url>/_vti_bin/lists.asmx
Consuming Sharepoint web services
Asked
Viewd7520
3
7520
3 个答案
1
Eric White有一个不错的Sharepoint Web服务入门,它可能是您从以下位置开始的好地方:
0
2
MSDN上的SharePoint Web服务文档包含以下几种方法-脚步和演练。您所描述的最重要的是:
-
列表:检索和更新文件元数据,检入和检出文件。特别查看 UpdateListItems 。
-
列表数据检索:查询方法返回列表中的项目。使用 U2U CAML查询生成器之类的工具来创建CAML查询。 / p>
如果您不知道如何做某事,请搜索此站点。这里已经问了许多有关使用SharePoint Web服务的问题,例如用于上传文档的这个。
警告:仅依赖这些Web服务可能会在某些时候给您带来问题。它们缺少SharePoint用户界面和对象模型中提供的许多功能。在采用这种方法之前,请确保通过概念证明测试了所有必需的功能,或者准备好编写自定义Web服务。