Php SOAP-ERROR:解析WSDL:can';t从';https
为什么不能加载PHP扩展SOAP实体? 错误: SOAP-ERROR:分析WSDL:无法从加载 我的第一个想法:php可以接受扩展https文档吗Php SOAP-ERROR:解析WSDL:can';t从';https,php,soap,wsdl,Php,Soap,Wsdl,为什么不能加载PHP扩展SOAP实体? 错误: SOAP-ERROR:分析WSDL:无法从加载 我的第一个想法:php可以接受扩展https文档吗 Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://soatest.paysafecard.com/psc/services/PscService?wsdl' : failed to load e
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://soatest.paysafecard.com/psc/services/PscService?wsdl' :
failed to load external entity "https://soatest.paysafecard.com/psc/services/PscService?wsdl" in /var/www/virtual/example.com/htdocs/class.php:791
Stack trace:
#0 /var/www/virtual/example.com/htdocs/class.php(791): SoapClient->SoapClient('https://soatest...')
#1 /var/www/virtual/example.com/htdocs/class.php(25): SOPGClassicMerchantClient->clientConnect()
#2 /var/www/virtual/example.com/htdocs/payment.php(56): SOPGClassicMerchantClient->__construct(true, 'de', true, 'test')
#3 {main} thrown in /var/www/virtual/example.com/htdocs/class.php on line 791
PHP信息
soap
Soap Client enabled
Soap Server enabled
Directive Local Value Master Value
soap.wsdl_cache 1 1
soap.wsdl_cache_dir /tmp /tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_limit 5 5
soap.wsdl_cache_ttl 86400 86400
openssl
OpenSSL support enabled
OpenSSL Library Version OpenSSL 0.9.8o 01 Jun 2010
OpenSSL Header Version OpenSSL 0.9.8o 01 Jun 2010
我也有同样的错误,通过联系paysafe修复了它integration@paysafecard.com. 他们实际上在他们的白名单中添加了我服务器的Ip地址。在我的浏览器中调用WSDL的URL返回403禁止。我想这就是你出错的原因。@R3N3PDE嗨,你找到解决办法了吗?url仍然返回403。