문제

Windows Server 2012 / SharePoint Server 2013 필자는 CMIS CMIS에 연결하려고 할 때http://myserver/cmis/rest/에서 404 오류가 발생합니다.

$ curl -v -u Administrator:mypassword "http://192.168.0.20/cmis/rest/"
> GET /cmis/rest/ HTTP/1.1
> Authorization: Basic QWRtaW5pc3RyYXRvcjpmdWppSTEz
> User-Agent: curl/7.27.0
> Host: 192.168.0.20
> Accept: */*
> 
< HTTP/1.1 404 NOT FOUND
< Cache-Control: private,max-age=0
< Content-Length: 13
< Expires: Wed, 30 Jan 2013 06:27:54 GMT
< Server: Microsoft-IIS/8.0
< X-SharePointHealthScore: 0
< Public-Extension: http://schemas.microsoft.com/repl-2
< SPRequestGuid: 0299fe9b-5958-9008-0000-06e305c41df6
< request-id: 0299fe9b-5958-9008-0000-06e305c41df6
< X-FRAME-OPTIONS: SAMEORIGIN
< SPRequestDuration: 36
< SPIisLatency: 0
< X-Powered-By: ASP.NET
< MicrosoftSharePointTeamServices: 15.0.0.4420
< X-Content-Type-Options: nosniff
< X-MS-InvokeApp: 1; RequireReadOnly
< Date: Thu, 14 Feb 2013 06:27:54 GMT
< 
404 NOT FOUND
.

는 내 SharePoint가 CMIS 서버로 사용될 준비가되지 않은 표지판입니까? 공동 작업 사이트입니다.그냥 테스트 파일이 업로드되었습니다.작업 공간이나 CMIS에 대한 작업 공간을 만들어야합니까? CMIS Workbench를 서버에서 직접 실행하고 있으므로 네트워크 문제가 아닌 것 같습니다.

CMIS 워크 벤치

ient.bindings.spi.atompub.CmisAtomPubSpi: Initializing AtomPub SPI...
ncmis.client.bindings.spi.http.HttpUtils: GET http://myserver/cmis/rest/
ncmis.client.bindings.spi.http.HttpUtils: GET http://myserver/cmis/rest/ > Headers: {null=[HTTP/1.1 404 NOT FOUND], X-SharePointHealthScore=[0], MicrosoftSharePointTeamServices=[15.0.0.4420], Content-Length=[13], Expires=[Thu, 24 Jan 2013 09:37:03 GMT], request-id=[72b5fc9b-e969-9008-0000-0a77440e3439], Server=[Microsoft-IIS/8.0], X-Powered-By=[ASP.NET], Cache-Control=[private,max-age=0], X-Content-Type-Options=[nosniff], SPRequestGuid=[72b5fc9b-e969-9008-0000-0a77440e3439], SPIisLatency=[1], Date=[Fri, 08 Feb 2013 09:37:03 GMT], Public-Extension=[http://schemas.microsoft.com/repl-2], X-FRAME-OPTIONS=[SAMEORIGIN], X-MS-InvokeApp=[1; RequireReadOnly], SPRequestDuration=[30]}
hemistry.opencmis.workbench.ClientHelper: CmisObjectNotFoundException: NOT FOUND
.

도움이 되었습니까?

해결책

잘못된 URL을 사용하고있었습니다.

http://myserver/_vti_bin/cmis/rest?getRepositories 에서 작동합니다.

또는 특정 사이트의 경우 site1 : http://myserver/site1/_vti_bin/cmis/rest?getRepositories

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top