#39094 [Opn->Fbk]: Soap client on https
| From: | iliaa@php.net | Date: | Mon, 09 Oct 2006 15:40:46 +0000 |
| Subject: | #39094 [Opn->Fbk]: Soap client on https | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-103307@lists.php.net to get a copy of this message | ||
ID: 39094
Updated by: iliaa@php.net
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