【问题标题】:Alfresco wsdl access issue, SOAP failedAlfresco wsdl 访问问题,SOAP 失败
【发布时间】: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。

标签: php soap wsdl alfresco


【解决方案1】:

我在 alfresco 论坛上得到答复,SOAP API 的路径已为 alfresco 4.2.d 移动。

现在,soap 服务不再是 http://localhost:8080/alfresco/api,而是位于 http://localhost:8080/alfresco/soapapi

参考:https://wiki.alfresco.com/wiki/Alfresco_Content_Management_Web_Services

【讨论】:

    猜你喜欢
    • 2017-03-03
    • 2020-06-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多