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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 Dec 21 12:01:31 2024 UTC