#51129 [Opn->Csd]: XX is not a valid Stream-Context resource while using Soap with local_cert

From: Date: Wed, 24 Feb 2010 15:58:02 +0000
Subject: #51129 [Opn->Csd]: XX is not a valid Stream-Context resource while using Soap with local_cert
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-148030@lists.php.net to get a copy of this message
ID: 51129 User updated by: bigdan at gmail dot com Reported By: bigdan at gmail dot com -Status: Open +Status: Closed Bug Type: SOAP related Operating System: linux PHP Version: 5.3.1 New Comment: Today's (php5.3-201002241330) snapshot worked. Closing. Previous Comments: ------------------------------------------------------------------------ [2010-02-24 03:31:31] bigdan at gmail dot com Description: ------------ This bug is strangley similar to #46427, but not exactly the same. This bug _only_ manifests when using php 5.3/5.3.1 and php snapshots. In order to reproduce this bug, local_cert (and passphrase - unfortunately, I cannot test without the passphrase) need to specified in the SoapClient parameters. Any calls to this constructed client fail with: E_WARNING: SoapClient::__doRequest(): XX is not a valid Stream-Context resource in ... where XX is the resource number, which is missing a #. Using php 5.2.4-2ubuntu5.6, this exact same script works perfectly. This problem manifests regardless of whether the soap client is encapsulated in a function or procedural. Expected result: ---------------- The SoapClient method executing successfully. Actual result: -------------- E_WARNING: SoapClient::__doRequest(): 179 is not a valid Stream-Context resource in ... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=51129&edit=1

« previous php.bugs (#148030) next »