|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-10-09 15:40 UTC] iliaa@php.net
[2006-10-17 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 03:00:02 2025 UTC |
Description: ------------ I am trying to establish a PHP SOAP SSL connection but i can't. the soap server and the soap client are both in php5. if i try same script with http it works. Reproduce code: --------------- <? define('SOAP_WSDL','https://[domain]/soap/soapOI.wsdl'); $SOAP_optionsArr = array('classmap' => array(), "trace" => 1, "exceptions" => 1, 'allow_self_signed' => true, 'verify_peer' => false, "login"=>'xxx', "password"=>'yyy', ); $client = new SoapClient(SOAP_WSDL,$SOAP_optionsArr); //error line $response= $client->getVersion(); ?> Expected result: ---------------- version of the soap server: 1.0 Actual result: -------------- Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://[domain]/soap/soapOI.wsdl' in /web/www/htdocs/info.php:16 Stack trace: #0 /web/www/htdocs/info.php(16): SoapClient->__construct('https://www.ofe...', Array) #1 {main} thrown in /web/www/htdocs/info.php on line 16