#50443 [NEW]: RHES5 - Bug #41337 WSDL parsing doesn't ignore non soap bindings
| From: | phpbug at em dot stonedrop dot com | Date: | Thu, 10 Dec 2009 20:44:42 +0000 |
| Subject: | #50443 [NEW]: RHES5 - Bug #41337 WSDL parsing doesn't ignore non soap bindings | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-145620@lists.php.net to get a copy of this message | ||
From: phpbug at em dot stonedrop dot com
Operating system: RedHat Enterprise 5.4
PHP version: 5.2.11
PHP Bug Type: SOAP related
Bug description: RHES5 - Bug #41337 WSDL parsing doesn't ignore non soap bindings
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 bug report at http://bugs.php.net/?id=50443&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50443&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50443&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50443&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50443&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50443&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50443&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50443&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50443&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50443&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50443&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50443&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50443&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50443&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50443&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50443&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50443&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50443&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50443&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50443&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50443&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50443&r=mysqlcfg