ID:               39094
 Updated by:       [EMAIL PROTECTED]
 Reported By:      webmaster at realtime dot ro
-Status:           Open
+Status:           Feedback
 Bug Type:         SOAP related
 Operating System: Linux 2.6.15.3
 PHP Version:      5.2.0RC5
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2006-10-09 14:00:50] webmaster at realtime dot ro

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


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39094&edit=1

Reply via email to