Ask a Question related to PHP Bugs, Design and Development.
-
webmaster at realtime dot ro #1
#39094 [NEW]: Soap client on https
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 [url]http://bugs.php.net/?id=39094&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=39094&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=39094&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=39094&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=39094&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=39094&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=39094&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=39094&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=39094&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=39094&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=39094&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=39094&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=39094&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=39094&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=39094&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=39094&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=39094&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=39094&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=39094&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=39094&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=39094&r=mysqlcfg[/url]
webmaster at realtime dot ro Guest
-
#31050 [Com]: SOAP class will not parse WSDL file located on a secure HTTPS connection
ID: 31050 Comment by: youngad6 at gmail dot com Reported By: dylanwoster at mac dot com Status: No Feedback... -
client-to-client communication via SOAP
I am in the intial stage of architecting and building an application in which each client running the application will occasionally send a set of... -
Writing a HTML/ASP SOAP client for a SOAP::Lite destination
How would I go about writing a SOAP client in either HTML or classic asp? The SOAP "listener" was written in Perl with SOAP::Lite in Unix and I am... -
Trouble with Pear Soap and HTTPS
I'm having the exact same problem. Worked fine in the test enviroment. But once I moved on to the the production server I get the same type of... -
SOAP Client creation in ASP.NET using MS SOAP Toolkit
how would I create a SOAP client in ASP.Net? The following code just works fine in VB: Dim lobjSOAP As New MSSOAPLib30.SoapClient30... -
iliaa@php.net #2
#39094 [Opn->Fbk]: Soap client on https
ID: 39094
Updated by: [email]iliaa@php.net[/email]
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:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
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 [url]http://bugs.php.net/?id=39094&edit=1[/url]
iliaa@php.net Guest



Reply With Quote

