ID: 31050
Comment by: samirshah_082005 at yahoo dot com
Reported By: dylanwoster at mac dot com
Status: No Feedback
Bug Type: SOAP related
Operating System: Mac OS X 10.3.6
PHP Version: 5.0.2
Assigned To: dmitry
New Comment:
I am getting the same error when creating soap client of a web service
with https. Did anyone find any solution?
Previous Comments:
------------------------------------------------------------------------
[2005-02-01 01:00:04] 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".
------------------------------------------------------------------------
[2005-01-20 08:46:12] dmitry@php.net
I see no problems with latest CVS version on Linux, but I cannot test
this on MacOS X.
------------------------------------------------------------------------
[2004-12-10 05:22:21] dylanwoster at mac dot com
Description:
------------
The built in SOAP class for PHP5 will not parse a WSDL
file located on a secure HTTPS connection. The same WSDL
works fine on an identical build on a Linux machine and
any HTTP connections work fine.
Registered Streams: php, file, ftp, gopher, telnet,
dict, ldap, http, https, ftps, compress.zlib
'./configure' '--with-mysql=/Library/MySQL' '--with-
apxs2=/Library/Apache2/bin/apxs' '--prefix=/Library/
PHP5' '--with-mysqli=/Library/MySQL/bin/mysql_config'
'--with-libxml-dir=/usr/include/libxml2' '--with-curl=/
usr/local' '--with-curlwrappers' '--with-mcrypt=/usr/
local' '--with-java=/usr/bin/java' '--with-openssl' '--
with-zlib' '--with-gd' '--with-jpeg-dir=/usr/local' '--
with-png-dir=/usr/local' '--enable-xslt' '--with-xslt-
sablot' '--enable-soap' '--enable-sockets' '--enable-
ftp'
OpenSSL is version 0.9.7e
Reproduce code:
---------------
$client = new SoapClient(
"https://arcweb.esri.com/services/v2/Authentication.wsdl"
);
echo( $client->getVersion( ) );
Expected result:
----------------
On the Linux machine I get the version of the ESRI web
services
Actual result:
--------------
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-
ERROR: Parsing WSDL: Couldn't load from 'https://
arcweb.esri.com/services/v2/Authentication.wsdl' in /
Users/dylanoster/Sites/www.maionline.com/site1/html/
soap.php:2 Stack trace: #0 {main} thrown in /Users/
dylanoster/Sites/www.maionline.com/site1/html/soap.php
on line 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31050&edit=1