在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
答案 0 :(得分:1)
可能存在身份验证问题。尝试使用Web浏览器将WSDL下载到本地磁盘,然后使用file:// URL在Workbench中引用它。
如果可行,请检查SharePoint端的身份验证配置。 OpenCMIS无法处理受保护的WSDL。