Sharepoint 2013 使用openCMIS工作台登录Sharepoint 2013存储库时出错
使用OpenCMIS Workbench 0.8.0,我可以很好地加载sharepoint 2013(GA)存储库,但当我尝试登录到其中一个存储库(如文档)时,会出现以下错误: “无效参数:服务方法的一个或多个输入参数丢失或无效” 找到一个包含一些说明的博客,但这些说明对我不起作用: 注意:以下是我正在使用的服务url格式: 有人知道问题出在哪里吗 以下是来自Workbench的堆栈跟踪:Sharepoint 2013 使用openCMIS工作台登录Sharepoint 2013存储库时出错,sharepoint-2013,cmis,opencmis,cmis-workbench,Sharepoint 2013,Cmis,Opencmis,Cmis Workbench,使用OpenCMIS Workbench 0.8.0,我可以很好地加载sharepoint 2013(GA)存储库,但当我尝试登录到其中一个存储库(如文档)时,会出现以下错误: “无效参数:服务方法的一个或多个输入参数丢失或无效” 找到一个包含一些说明的博客,但这些说明对我不起作用: 注意:以下是我正在使用的服务url格式: 有人知道问题出在哪里吗 以下是来自Workbench的堆栈跟踪: > 11:05:17 DEBUG ncmis.client.bindings.spi.http.
> 11:05:17 DEBUG ncmis.client.bindings.spi.http.HttpUtils: GET http://MYServer/_vti_bin/cmis/rest/f8134afe-176a-4c48-9fd2-a9f97e5dc91d?getTypeDefinition&typeId=cmis%3Adocument
> 11:05:17 TRACE ncmis.client.bindings.spi.http.HttpUtils: GET http://MYServer/_vti_bin/cmis/rest/f8134afe-176a-4c48-9fd2-a9f97e5dc91d?getTypeDefinition&typeId=cmis%3Adocument > Headers: {null=[HTTP/1.1 400 One or more of the input parameters to the service method is missing or invalid.], Server=[Microsoft-IIS/7.5], SPRequestDuration=[124], SPIisLatency=[27], X-FRAME-OPTIONS=[SAMEORIGIN], Content-Type=[plain/text; charset=utf-8], Date=[Wed, 30 Jan 2013 19:05:02 GMT], X-SharePointHealthScore=[1], Cache-Control=[private], X-Content-Type-Options=[nosniff], X-Powered-By=[ASP.NET], X-MS-InvokeApp=[1; RequireReadOnly], request-id=[5ef0f99b-24ec-909f-6192-6eaf6feccabc], Content-Length=[167], MicrosoftSharePointTeamServices=[15.0.0.4420], SPRequestGuid=[5ef0f99b-24ec-909f-6192-6eaf6feccabc], X-AspNet-Version=[4.0.30319]}
> 11:05:17 ERROR hemistry.opencmis.workbench.ClientHelper: CmisInvalidArgumentException: One or more of the input parameters to the service method is missing or invalid.
org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: One or more of the input parameters to the service method is missing or invalid.
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:423)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.read(AbstractAtomPubService.java:554)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getTypeDefinitionInternal(AbstractAtomPubService.java:821)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getTypeDefinition(RepositoryServiceImpl.java:88)
at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getTypeDefinition(RepositoryServiceImpl.java:137)
at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getTypeDefinition(SessionImpl.java:518)
at org.apache.chemistry.opencmis.workbench.model.ClientSession.createOperationContexts(ClientSession.java:244)
at org.apache.chemistry.opencmis.workbench.model.ClientSession.createSession(ClientSession.java:195)
at org.apache.chemistry.opencmis.workbench.LoginDialog$2.actionPerformed(LoginDialog.java:204)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2006)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2329)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:398)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:247)
> 11:05:17 ERROR hemistry.opencmis.workbench.ClientHelper: Error code: 0
我注意到的另一件事是,当我从浏览器中使用服务文档中的URL时,它们都不起作用。因此,我认为服务文档没有有效的URL。我的建议是:
- 启动工作台,不要登录
- 关闭连接弹出窗口
- 用右上角的按钮打开日志窗口
- 将日志级别提高到调试或更详细
- 尝试连接
- 再次检查日志,可能会将其发布到此处
在启动OpenCMIS之前,请从internet explorer中删除所有代理设置,并重置所有系统范围的代理设置:
netsh winhttp reset proxy
确保您的share point web应用程序设置为仅接受您提到的博客文章中所述的基本身份验证
从IE和系统范围内删除代理修复了我的问题。。我现在可以使用OpenCMIS登录到sharepoint 2013
啊,在我忘记URL语法之前,应该是http://server:port/_vti_bin/cmis/rest/?getRepositories
祝你好运问题的实际根源是缺少备用访问映射。不知道为什么它一开始就不见了
因此,我添加了一个内部url,它具有完整的服务器名称地址,而不仅仅是短名称。一位microsoft开发人员帮我解决了这个问题。没有时间发布解决方案,但这基本上是我在获得microsoft帮助后必须做的事情。我错过了下面的步骤B: A.激活子站点的CMIS功能
- SharePoint-80
- 设置url,例如(完整域名)
- 设置区域:任何区域,如Intranet
谢谢你的建议。我将跟踪添加到我的帖子中。添加了我在单击“登录”后立即获得的跟踪,但没有告诉我多少。谢谢。我试过了,但还是犯了同样的错误。我将在Sharepoint配置中进一步探讨这与你的另一个答案相同,对吗?谢谢