2013-11-15 4 views
2

Почему я не могу загрузить PHP в extenal SOAP? Ошибка: SOAP-ERROR: Разбор WSDL: Не удалось загрузить сSOAP-ERROR: Разбор WSDL: Не удалось загрузить с 'https

Моя первая идея: Может ли php принять документ extenal 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

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 
+0

Вызов URL-адреса WSDL в моем браузере возвращает 403 Запрещено. Наверное, это причина вашей ошибки. –

+0

@ R3N3PDE Привет, вы нашли решение? URL еще возвращает 403. – alexg

ответ

0

Я имел ту же ошибку, и установил ее, обратившись в Paysafe [email protected] Они фактически добавили адрес Ip ​​моего сервера в свои белые списки.

Смежные вопросы