通过CMIS连接共享点

编程入门 行业动态 更新时间:2024-10-27 10:30:27
本文介绍了通过CMIS连接共享点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

你好,

我想使用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连接共享点

本文发布于:2023-11-28 10:30:16,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1642033.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:CMIS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!