你好,
我想使用python(CMISLIB库)通过CMIS连接到我的共享点存储库,我使用此地址进行连接:
MyHost/_vti_bin/cmis/rest/< repo-id>?getRepositoryInfo
但是我收到403错误(权限被拒绝的异常),另一方面,我可以使用此存储库URL以及我的用户名和密码.在WORKBENCH软件中并毫无问题地连接到我的共享点存储库,但这对我没有用,我应该 找到一种将python连接到该存储库的方法.
我的代码没有错误,因为我以这种方式连接到露天公共CMIS存储库.
请帮助我
谢谢
解决方案
阿拉什瑟,
根据您的错误消息,似乎是身份验证出现问题.
尝试在您的Web应用程序上启用基本身份验证:
打开Internet信息服务(IIS)管理器->在站点"下选择相关的Web应用程序->双击身份验证"->启用基本身份验证".
更多信息请参见以下文章:
chemistry.apache/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 :
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:
chemistry.apache/java/developing/guide.html
Best regards,
Grace Wang更多推荐
通过CMIS连接共享点
发布评论