php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39094 Soap client on https
Submitted: 2006-10-09 14:00 UTC Modified: 2006-10-17 01:00 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: webmaster at realtime dot ro Assigned:
Status: No Feedback Package: SOAP related
PHP Version: 5.2.0RC5 OS: Linux 2.6.15.3
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: webmaster at realtime dot ro
New email:
PHP Version: OS:

 

 [2006-10-09 14:00 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-09 15:40 UTC] iliaa@php.net
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


 [2006-10-17 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 12 10:01:28 2024 UTC