php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51129 XX is not a valid Stream-Context resource while using Soap with local_cert
Submitted: 2010-02-24 03:31 UTC Modified: 2010-02-24 15:58 UTC
From: bigdan at gmail dot com Assigned:
Status: Closed Package: SOAP related
PHP Version: 5.3.1 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bigdan at gmail dot com
New email:
PHP Version: OS:

 

 [2010-02-24 03:31 UTC] 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 ...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-24 15:58 UTC] bigdan at gmail dot com
Today's (php5.3-201002241330) snapshot worked. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 25 19:01:29 2024 UTC