From:             webmaster at realtime dot ro
Operating system: Linux 2.6.15.3
PHP version:      5.2.0RC5
PHP Bug Type:     SOAP related
Bug description:  Soap client on https

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 bug report at http://bugs.php.net/?id=39094&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39094&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39094&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39094&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39094&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39094&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39094&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39094&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39094&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39094&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39094&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39094&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39094&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39094&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39094&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39094&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39094&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39094&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39094&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39094&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39094&r=mysqlcfg

Reply via email to