From: storozhilov at mail dot ru Operating system: FreeBSD 7.0-RELEASE #2 PHP version: 5.2.5 PHP Bug Type: SOAP related Bug description: SoapClient-error with Document-Style WSDL
Description: ------------ It's recommended to use Document-style WSDL, so we've made our SOAP-server, that publish WSDL-document of this style. Unfortunately, PHP SOAP-module works fine with RPC-style, but makes a error with the same, but Document-style WSDL. Our SOAP-server, written using gSOAP works fine with gSOAP-based clients, but can't serve PHP ones. Reproduce code: --------------- 1. WSDL is here: http://pregrad.net/temp/isale.wsdl 2. PHP code is: <?php ini_set('soap.wsdl_cache_enabled', '0'); $client = new SoapClient("isale.wsdl"); $uuid = $client->initUserSession(1, 'user', 'password'); ?> Expected result: ---------------- without errors Actual result: -------------- PHP Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Client] Method 'parameters' not implemented: method name or namespace not recognized in /usr/home/illy/Programming/SOAP/PHP/document_style_wsdl/run_me.php:5 Stack trace: #0 [internal function]: SoapClient->__call('initUserSession', Array) #1 /usr/home/illy/Programming/SOAP/PHP/document_style_wsdl/run_me.php(5): SoapClient->initUserSession(1, 'user', 'password') #2 {main} thrown in /usr/home/illy/Programming/SOAP/PHP/document_style_wsdl/run_me.php on line 5 -- Edit bug report at http://bugs.php.net/?id=44581&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44581&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44581&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44581&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44581&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44581&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44581&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44581&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44581&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44581&r=support Expected behavior: http://bugs.php.net/fix.php?id=44581&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44581&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44581&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44581&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44581&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44581&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44581&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44581&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44581&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44581&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44581&r=mysqlcfg
