【问题标题】:ClientHelper: CmisConnectionException: Cannot initalize Web Services service objectClientHelper:CmisConnectionException:无法初始化 Web 服务服务对象
【发布时间】:2013-02-14 07:19:51
【问题描述】:

http://192.168.0.20/_vti_bin/cmissoapwsdl.aspx 作为 Web 服务登录我启用了 CMIS 的 SharePoint 2013 Standard 时,CMIS Workbench 说:

ClientHelper: CmisConnectionException: Cannot initalize Web Services service object

Here is the response of the endpoint (pastebin because StackOverflow is limited to 30k characters),我觉得没问题,请问有什么问题?

Full CMIS Workbench log:
> 16:59:01 DEBUG dings.spi.webservices.CmisWebServicesSpi: Initializing Web Services SPI...
> 16:59:01 DEBUG ngs.spi.webservices.AbstractPortProvider: Initializing Web Service org.apache.chemistry.opencmis.binding.webservices.RepositoryService...
> 16:59:01 ERROR hemistry.opencmis.workbench.ClientHelper: CmisConnectionException: Cannot initalize Web Services service object [org.apache.chemistry.opencmis.binding.webservices.RepositoryService]: 2 counts of InaccessibleWSDLException.

org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Cannot initalize Web Services service object [org.apache.chemistry.opencmis.binding.webservices.RepositoryService]: 2 counts of InaccessibleWSDLException.

    at org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.initServiceObject(AbstractPortProvider.java:288)
    at org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getPortObject(AbstractPortProvider.java:206)
    at org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getRepositoryServicePort(AbstractPortProvider.java:109)
    at org.apache.chemistry.opencmis.client.bindings.spi.webservices.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:57)
    at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:85)
    at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:109)
    at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:96)
    at org.apache.chemistry.opencmis.workbench.model.ClientSession.connect(ClientSession.java:186)
    at org.apache.chemistry.opencmis.workbench.model.ClientSession.<init>(ClientSession.java:105)
    at org.apache.chemistry.opencmis.workbench.LoginDialog.createClientSession(LoginDialog.java:547)
    at org.apache.chemistry.opencmis.workbench.LoginDialog$1.actionPerformed(LoginDialog.java:154)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
> 16:59:01 ERROR hemistry.opencmis.workbench.ClientHelper: Error code: 0

【问题讨论】:

    标签: sharepoint sharepoint-2013 cmis opencmis


    【解决方案1】:

    可能存在身份验证问题。尝试使用 Web 浏览器将 WSDL 下载到本地磁盘,然后使用 file:// URL 在 Workbench 中引用它。

    如果可行,请检查 SharePoint 端的身份验证配置。 OpenCMIS 无法处理受保护的 WSDL。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-11-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-06-06
    相关资源
    最近更新 更多