[英]SOAP-ERROR: Parsing WSDL: Couldn't load from 'https
Why can´t load PHP a extenal SOAP entity? 为什么无法将PHP装入外部SOAP实体? The Error: SOAP-ERROR: Parsing WSDL: Couldn't load from 错误:SOAP错误:解析WSDL:无法从中加载
My fist idea: Can php accept a extenal https document? 我的主意是: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 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 Info 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
I had the same error and fixed it by contacting paysafe integration@paysafecard.com. 我遇到了同样的错误,并通过联系paysafe integration@paysafecard.com进行了修复。 They actually added my server's Ip address in their white lists. 他们实际上在白名单中添加了我服务器的IP地址。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.