如何在heroku上使用php和soap web服务
我们在应用程序中使用soap客户端库,使用PHP中的API获取如何在heroku上使用php和soap web服务,php,heroku,salesforce,Php,Heroku,Salesforce,我们在应用程序中使用soap客户端库,使用PHP中的API获取Salesforce数据 当我们运行简单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-error:解析WSDL:无法从
Salesforce
数据
当我们运行简单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-error:解析WSDL:无法从“soapclient/enterprise.WSDL.xml”加载:未能在第64行的/app/www/sandbox/soapclient/SforceBaseClient.PHP中加载外部实体“soapclient/enterprise.WSDL.xml”,而不是使用xml路径作为“soapclient/enterprise.WSDL.xml”,这需要xml文件“”的完整路径。嗯,它似乎在寻找一个不存在的文件。