【问题标题】:Alfresco - PHP IntegrationAlfresco - PHP 集成
【发布时间】:2018-09-27 01:12:46
【问题描述】:

我正在尝试整合 Alfresco PHP API 。我仍然有这个错误。

警告:AlfrescoWebService::__soapCall($function_name, $arguments = 数组,$options = 数组,$input_headers = 数组, $output_headers = Array) 应该兼容 SoapClient::__soapCall($function_name, $arguments, $options = NULL, $input_headers = NULL, &$output_headers = NULL) 在 C:\xampp\htdocs\Alfresco\Service\WebService\AlfrescoWebService.php 上 第 97 行

警告:AlfrescoWebService::__doRequest($request, $location, $action, $version) 应该兼容 SoapClient::__doRequest($request, $location, $action, $version, $one_way = NULL) 在 C:\xampp\htdocs\Alfresco\Service\WebService\AlfrescoWebService.php 上 第 97 行

致命错误:未捕获的 SoapFault 异常:[WSDL] SOAP-ERROR: Parsing WSDL:无法从 'http://localhost:8080/alfresco/api/AuthenticationService?wsdl' : 未能加载外部实体 "http://localhost:8080/alfresco/api/AuthenticationService?wsdl" 在 C:\xampp\htdocs\Alfresco\Service\WebService\AlfrescoWebService.php:31 堆栈跟踪:#0 C:\xampp\htdocs\Alfresco\Service\WebService\AlfrescoWebService.php(31): SoapClient->SoapClient('http://localhos...', Array) #1 C:\xampp\htdocs\Alfresco\Service\WebService\WebServiceFactory.php(26): AlfrescoWebService->__construct('http://localhos...', Array) #2 C:\xampp\htdocs\Alfresco\Service\Repository.php(56): WebServiceFactory::getAuthenticationService('http://localhos...') #3 C:\xampp\htdocs\index.php(16): Repository->authenticate('admin', 'abc123') #4 {main} 投入 C:\xampp\htdocs\Alfresco\Service\WebService\AlfrescoWebService.php 上 第 31 行

谁能帮助我如何集成 PHP API?

【问题讨论】:

  • “Alfresco”不是那种上面有扁面条和白汁的意大利面吗?
  • 你为什么使用古老且不受支持的 WebServices 东西?如果您切换到更新的 CMIS 支持会发生什么?

标签: php xampp alfresco


【解决方案1】:

Alfresco-PHP 集成是对不再可用的 Alfresco-Web-Services-API (SOAP) 的封装。请改用Alfresco REST APIAlfresco CMIS API

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-02-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多