#50443 [Opn->Bgs]: RHES5 - Bug #41337 WSDL parsing doesn't ignore non soap bindings
| From: | aharvey@php.net | Date: | Tue, 15 Dec 2009 07:04:38 +0000 |
| Subject: | #50443 [Opn->Bgs]: RHES5 - Bug #41337 WSDL parsing doesn't ignore non soap bindings | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145744@lists.php.net to get a copy of this message | ||
ID: 50443
Updated by: aharvey@php.net
Reported By: phpbug at em dot stonedrop dot com
-Status: Open
+Status: Bogus
Bug Type: SOAP related
Operating System: RedHat Enterprise 5.4
PHP Version: 5.2.11
New Comment:
Since I'm fairly sure Johannes meant to post this here rather than bug
#41337, I'll quote what he said there:
"Please talk to RedHat if you need fixes. We don't support PHP 5.1
anymore. 5.2 is out for more than three years and we're already on 5.3
..."
FWIW, the SVN revisions that fixed bug #41337 on the 5.2 branch were
235340 and 236042, should you wish to follow it up with Red Hat -- that
would presumably be where they would need to start with any backport.
Glancing over the diff, I can't see any obvious way this could be
worked around from userspace code short of preprocessing the WSDL, which
I wouldn't particularly recommend.
(Closing the bug, since it's an issue for Red Hat to deal with on their
branch of 5.1.6, rather than for the PHP development team as such.)
Previous Comments:
------------------------------------------------------------------------
[2009-12-10 20:44:41] phpbug at em dot stonedrop dot com
Description:
------------
This is a follow up to the issue described below, and in reference to
PHP 5.1.6 (RHEL 5.1.6-23.2.el5_3).
http://bugs.php.net/bug.php?id=41337
We are experiencing what appears to be this issue, as a growing number
of vendors that implement SOAP communication are introduced POX binding
to WCF services.
As you are probably aware, RHES5 is shipped with PHP 5.1 and there is
no simple path for upgrade without removing the supported version and
installing a community or source-based installation.
According to the above report, this was fixed in CVS for 5.2.2, but was
this ever back-ported to the 5.1.x version of php-soap? Otherwise, is
there a workaround?
Many thanks.
Reproduce code:
---------------
Examples on http://bugs.php.net/bug.php?id=41337
apply
Example:
<wsdl:service name="SubscriberService">
<wsdl:port name="SecureSubscriberServiceBasicBinding"
binding="tns:SecureSubscriberServiceBasicBinding">
<soap:address
location="https://services.contentdirect.tv/v3.0/SubscriberService.svc"/>
</wsdl:port>
<wsdl:port name="SecureSubscriberServiceBasicBindingWebHttp"
binding="tns:SecureSubscriberServiceBasicBindingWebHttp"/>
</wsdl:service>
Expected result:
----------------
WSDL is parsed, and calls succeed.
Actual result:
--------------
PHP Fatal error: SOAP-ERROR: Parsing WSDL: No address associated with
<port>
Exception thrown
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50443&edit=1