在http://192.168.0.20/_vti_bin/cmissoapwsdl.aspx
作为Web服务登录到我启用CMIS的SharePoint 2013 Standard时,CMIS Workbench说:
ClientHelper: CmisConnectionException: Cannot initalize Web Services service object
这是端点的响应(pastebin,因为StackOverflow限制为30k个字符),在我看来还可以,那么问题出在哪里呢?
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
可能存在身份验证问题。尝试使用web浏览器将WSDL下载到本地磁盘,然后在工作台中使用文件://URL引用它。
如果有效,请检查SharePoint端的身份验证配置。OpenCMIS无法处理受保护的WSDL。