通过CMIS连接共享点 [英] Connect sharepoint via CMIS

查看:56
本文介绍了通过CMIS连接共享点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我想使用python(CMISLIB库)通过CMIS连接到我的共享点存储库,我使用此地址进行连接:

http://MyHost/_vti_bin/cmis/rest/< repo-id>?getRepositoryInfo

但是我收到403错误(权限被拒绝的异常),另一方面,我可以使用此存储库URL以及我的用户名和密码.在WORKBENCH软件中并毫无问题地连接到我的共享点存储库,但这对我没有用,我应该 找到一种将python连接到该存储库的方法.

我的代码没有错误,因为我以这种方式连接到露天公共CMIS存储库.

请帮助我

谢谢

解决方案

阿拉什瑟,

根据您的错误消息,似乎是身份验证出现问题.

尝试在您的Web应用程序上启用基本身份验证:

打开Internet信息服务(IIS)管理器->在站点"下选择相关的Web应用程序->双击身份验证"->启用基本身份验证".

更多信息请参见以下文章:

http://chemistry.apache.org/java/developing/guide.html

最诚挚的问候,

Grace Wang


Hello ,

I wanna connect to my sharepoint repository via CMIS with python (CMISLIB library) , i use this address for connecting :

http://MyHost/_vti_bin/cmis/rest/<repo-id>?getRepositoryInfo

but i get 403 error (permission denied exception), on the other hand i can use this repository URL and my username and password  in WORKBENCH software and connect to my sharepoint repository without any problem, but this is not useful for me and i should find a way to connect python to this repository.

my code doesn't have error because i connected to alfresco public CMIS repository in this way.

help me please

thanks

解决方案

Hi Arashsyh,

According to your error message, it seems the issue with authentication.

Try to enable Basic authentication on your web application:

Open Internet Information Services(IIS) Manager->select the relevant Web application under Sites->double click "Authentication"-> enable "Basic Authentication".

More information refer to the article below:

http://chemistry.apache.org/java/developing/guide.html

Best regards,

Grace Wang


这篇关于通过CMIS连接共享点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆