ID: 42086 Updated by: [EMAIL PROTECTED] Reported By: sanderovich at avaya dot com -Status: Assigned +Status: Closed Bug Type: SOAP related Operating System: linux PHP Version: 5.2.3 Assigned To: dmitry New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2007-08-15 08:22:21] [EMAIL PROTECTED] Dmitry, feedback was given.. ------------------------------------------------------------------------ [2007-08-15 06:12:05] sanderovich at avaya dot com I believe that there are here two different problems. The first is that the Soap client does not create the SoapBody correctly for a function without parameters(the SoapBody is empty), that's why my SoapClient includes the following lines: if ( $parameters == null) { $return = $itc_client->__soapCall($methodName, array(new SoapParam(null, $methodName)), null, $security_header); // $return = $itc_client->__soapCall($methodName, array(), null, $security_header); } The second problem is in the SoapServer that does recognize functions without parameters. ------------------------------------------------------------------------ [2007-08-15 02:29:37] michael dot tutty at gmail dot com This bug seems to be the root of the problem. Has it been fixed?? http://bugs.php.net/bug.php?id=30302 ------------------------------------------------------------------------ [2007-08-15 01:47:52] michael dot tutty at gmail dot com Also, the zip file referenced by the O.P. is available as of two minutes ago. Must have been a temporary outage. ------------------------------------------------------------------------ [2007-08-15 01:26:53] michael dot tutty at gmail dot com Here's a minimal WSDL that shows the problem: http://pastebin.com/m18b5d1fc Here's the class file I used to reproduce with the WSDL above: http://pastebin.com/m28bdf0f0 Here's a test client script: http://pastebin.com/m303880eb ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/42086 -- Edit this bug report at http://bugs.php.net/?id=42086&edit=1