From: michael dot tutty at gmail dot com Operating system: SuSE 10.2 PHP version: 5CVS-2007-09-18 (snap) PHP Bug Type: SOAP related Bug description: Procedure 'int1' not present with doc/lit SoapServer
Description: ------------ Calling AddNumbers on the sample SOAP server class yields the familiar "Procedure 'xxx' not present" exception when calling $server->handle(). Calling the reflectString(string) method works. It seems as though the number of parameters makes a difference. This seems like a pretty big problem, as it prevents PHP from acting as a WS-I-compliant service to .NET and Java-based consumers. I tested with this service class as part of verifying bug 42086. It is not fixed in this example. Since I'm not the owner of 42086, I am submitting this report instead. Reproduce code: --------------- http://pastebin.com/m786a07d4 Expected result: ---------------- The SoapServer class should recognize the method being called. Actual result: -------------- The SoapServer class appears to look for an implementation method that matches the name of the first Xml tag in the SOAP envelope. I think this would be correct for rpc/encoded usage, but not for doc/lit. -- Edit bug report at http://bugs.php.net/?id=42692&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42692&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42692&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42692&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42692&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42692&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42692&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42692&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42692&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42692&r=support Expected behavior: http://bugs.php.net/fix.php?id=42692&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42692&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42692&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42692&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42692&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42692&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42692&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42692&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42692&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42692&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42692&r=mysqlcfg