Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44910 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38511 invoked from network); 10 Jul 2009 14:48:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jul 2009 14:48:08 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.220 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.220.220 mail-fx0-f220.google.com Received: from [209.85.220.220] ([209.85.220.220:54201] helo=mail-fx0-f220.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A7/00-37812-6A4575A4 for ; Fri, 10 Jul 2009 10:48:07 -0400 Received: by fxm20 with SMTP id 20so883450fxm.23 for ; Fri, 10 Jul 2009 07:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Lt4x2Ubh37gqS2OPLjxBh/JTfT1XofOw6hkoeykJE5s=; b=TkKDVeg8BW8dCqpX7rfSlmwoYlTNtsj8e1K640gHb2MT19y6nJ94zO+IIVo86r/Fl8 XYno0K9NeJtbJMTv6+9H8Hexo9uBBiZIWGB5nP1NWfDM0FoYKET1zM2ulOqyFcgozOAB NNn9rKzt+/KOPe0XUFXDPMVbDAY1cabmK42x0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Z2B2wjPRNWKq6rYMz7Ps4goResHTF7pon2/cc7je34jnYnURKFR6xsa/z55lPh6QAk VJ2twgNg2XAGOuxj8sRHdQW92f1oreusz/ROPZm7p1qDctNOLR3/5Dr/f7kEgwexidWC Kgi3RfWWuIMBUOSy4PPcQYyUcC5fL9hOpYKWE= MIME-Version: 1.0 Received: by 10.86.91.5 with SMTP id o5mr1083613fgb.57.1247237283033; Fri, 10 Jul 2009 07:48:03 -0700 (PDT) In-Reply-To: <4A575258.10407@gmail.com> References: <4A5350C7.5060600@gmail.com> <1246976308.10382.68.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <4A575258.10407@gmail.com> Date: Fri, 10 Jul 2009 16:48:02 +0200 Message-ID: <7f3ed2c30907100748s285c836ex212d9cca856e46a1@mail.gmail.com> To: endrazine Cc: =?ISO-8859-1?Q?David_Z=FClke?= , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Soap over SSL and From: hannes.magnusson@gmail.com (Hannes Magnusson) On Fri, Jul 10, 2009 at 16:38, endrazine wrote: > David Z=FClke wrote: > >> $c =3D new SoapClient( >> =A0 'https://foo/bar.wsdl', >> =A0 array( >> =A0 =A0 'stream_context" =3D> stream_context_create(array( >> =A0 =A0 =A0 'ssl' =3D> array( >> =A0 =A0 =A0 =A0 'verify_peer' =3D> true >> =A0 =A0 =A0 ) >> =A0 =A0 )) >> =A0 ) >> ); > > > 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