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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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: Fri May 03 21:01:32 2024 UTC