As far as I know, SOAP does not use the HTTP wrappers directly, it uses only sockets/ssl for communication (so the context applies only to the lower level SSL socket). So CURL is not used, because PHP's HTTP streams are not used.
----- Uwe Schindler theta...@php.net - http://www.php.net NSAPI SAPI developer Bremen, Germany > -----Original Message----- > From: endrazine [mailto:endraz...@gmail.com] > Sent: Friday, July 10, 2009 4:52 PM > To: Hannes Magnusson > Cc: David Zülke; PHP internals > Subject: Re: [PHP-DEV] Soap over SSL and > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hannes Magnusson wrote: > > On Fri, Jul 10, 2009 at 16:38, endrazine<endraz...@gmail.com> wrote: > >> David Zülke wrote: > >> > >>> $c = new SoapClient( > >>> 'https://foo/bar.wsdl', > >>> array( > >>> 'stream_context" => stream_context_create(array( > >>> 'ssl' => array( > >>> 'verify_peer' => true > >>> ) > >>> )) > >>> ) > >>> ); > >> > >> This works and solves the issue, thank you :) > >> > >> The other methods I have been suggested and have been testing, for > >> instance recompiling with --with-curlwrappers do NOT work. > > > > --with-curlwrappers overwrites the builtin stream support to use curl. > > The curlwrappers have their own context options: > > http://php.net/context.curl > > > > > > -Hannes > > > > I verified it doesn't work. > > Regards, > > j- > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkpXVagACgkQK/YAm7PYyblesgCcD25MfGepg4UslL/YYi+R0Yo9 > Tu8An3hNn3ad3iXVsBK0fc/2BhqSkSTl > =186g > -----END PGP SIGNATURE----- > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php