我如何从Python使用sharepoint(通过soap?)?
我想将 Sharepoint 与 python (C-Python) 一起使用
有人尝试过吗?
I want to use Sharepoint with python (C-Python)
Has anyone tried this before ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我怀疑自从这个问题得到解答以来,SUDS 库已经更新以处理所需的身份验证本身。 在经历了各种困难之后,我发现这样做可以解决问题:
I suspect that since this question was answered the SUDS library has been updated to take care of the required authentication itself. After jumping through various hoops, I found this to do the trick:
要获得 wsdl :
main (mean) 问题:
sharepoint-server 使用 NTLM-Auth [ :-( ]
所以我不得不使用 NTLM-Auth-Proxy
来 Rob 和 Enzondio:感谢您的提示!
To get the wsdl :
main (mean) problem:
the sharepoint-server uses a NTLM-Auth [ :-( ]
so i had to use the NTLM-Auth-Proxy
To Rob and Enzondio : THANKS for your hints !
使用 Python 进行 SOAP 非常简单。 这是来自 Dive Into Python 的教程。
SOAP with Python is pretty easy. Here's a tutorial from Dive Into Python.
SharePoint 公开了多个可用于查询和更新数据的 Web 服务。
我不确定 Python 有哪些 Web 服务工具包,但它们应该能够毫无问题地为这些服务构建代理。
本文应该为您提供足够的信息来开始使用。
http://www.developer.com/tech/article.php/3104621
SharePoint exposes several web services which you can use to query and update data.
I'm not sure what web service toolkits there are for Python but they should be able to build proxies for these services without any issues.
This article should give you enough information to get started.
http://www.developer.com/tech/article.php/3104621