【发布时间】:2014-11-12 14:39:28
【问题描述】:
我已经在我的本地系统上设置了 Alfresco。我正在尝试使用 AlfrescoPHPSDK-PHPLibrary-0.1 来获取门票。我正在尝试包中提供的示例,但它给了我以下错误。
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL
: Couldn't load from 'http://127.0.0.1:8080/alfresco/api/AuthenticationService?wsdl'
: failed to load external entity "http://127.0.0.1:8080/alfresco/api/AuthenticationService?wsdl" in D:\wamp\www\alfrescophp\Alfresco\Service\WebService\AlfrescoWebService.php:36
- 我已在本地 PC 上安装了 Alfresco
- 我可以从浏览器打开和登录 Alfresco
-
http://127.0.0.1:8080/alfresco/api此 URL 接受了相同的凭据。 - 但是当我尝试访问
http://127.0.0.1:8080/alfresco/api/AuthenticationService?wsdl时,它询问我username/Password并且不接受我用于 Alfresco 的凭据。
【问题讨论】:
-
您不使用 CMIS 是否有原因?只是它得到了更好的支持!
-
你确定它是 /api/ /api/ url 用于新的公共 api 并且旧的 WSDL 现在是 /soapapi/ 顺便说一句,你在哪个版本的 Alfresco 上?您可能应该知道,在新的 Alfresco 5.0 中,旧的 SOAP API 已被移除,因此最好切换到 CMIS。