我们在我们的应用程序中使用soap客户端库来Salesforce
使用PHP中的API获取数据。
当我们运行简单的 php 页面时,它可以正常运行,但不能使用 soap 客户端。
我们运行此命令并收到错误,如下所示
$ heroku run php www/sandbox/index-test.php
Running `php www/sandbox/index-test.php` attached to terminal... up, run.1586
PHP 致命错误:SOAP 错误:解析 WSDL:无法从“soapclient/enterprise.wsdl.xml”加载:无法在 /app/www/sandbox/soapclient/ 中加载外部实体“soapclient/enterprise.wsdl.xml”第 64 行的 SforceBaseClient.php