#42692 [Fbk->Opn]: Procedure 'int1' not present with doc/lit SoapServer
ID: 42692 User updated by: michael dot tutty at gmail dot com Reported By: michael dot tutty at gmail dot com -Status: Feedback +Status: Open Bug Type: SOAP related Operating System: SuSE 10.2 PHP Version: 5CVS-2007-09-18 (snap) Assigned To: dmitry New Comment: No, it hasn't, and I can't find the sample code I posted to pastebin. You can create a simple doc/lit web service with a function AddNumbers(int one, int two) that returns one + two. Using the SOAPClient class should return the error. Not that this seems to be a boundary condition issue, since a function with no parameters or one parameter will work. Previous Comments: [2007-10-18 11:29:33] [EMAIL PROTECTED] So the bug has already fixed? http://pastebin.com/m786a07d4 contains nothing, so I cannot look into it. [2007-09-21 02:49:57] deathemperor at gmail dot com Just found this bug yesterday from my co-worker. Fixed it today by changing the filename which I think it's caching problem. You can avoid changing filename by setting soap.wsdl_cache_enabled = 1 using ini_set(). Hope this helps. [2007-09-18 03:26:01] michael dot tutty at gmail dot com 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 this bug report at http://bugs.php.net/?id=42692&edit=1
#42692 [NEW]: Procedure 'int1' not present with doc/lit SoapServer
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
#42086 [Com]: SoapServer return Procedure '' not present for WSIBasic compliant wsdl
ID: 42086 Comment by: michael dot tutty at gmail dot com Reported By: sanderovich at avaya dot com Status: No Feedback Bug Type: SOAP related Operating System: linux PHP Version: 5.2.3 Assigned To: dmitry New Comment: This bug seems to be the root of the problem. Has it been fixed?? http://bugs.php.net/bug.php?id=30302 Previous Comments: [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 [2007-08-09 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". [2007-08-01 11:10:27] [EMAIL PROTECTED] I am not able to get code. Link doesn't work. "The file you are requesting is not accesible due to a hardware or ISP problem. Please retry Later". [2007-07-24 14:13:07] sanderovich at avaya dot com Description: When using WSI Basic compliant wsdl, a call to functions without parameters return procedure xxx not found despite the fact that the function exist(they exist both in the wsdl and in the array returned by SoapServer::getFunctions()). Functions with parameters are being executed correctly. For example: A Soap call to : firstFunctionWithoutParam() return the following SoapFault: http://schemas.xmlsoap.org/soap/envelope/";> SOAP-ENV:Server Procedure 'firstFunctionWithoutParam' not present despite the fact that the function exist in the return SoapServer::getFunctions() Array ( [0] => firstFunctionWithoutParam [1] => secondFunctionWithoutParam [2] => firstFunctionClassParam [3] => secondFunctionClassParam ) Soap Data (from $HTTP_RAW_POST_DATA): http://schemas.xmlsoap.org/soap/envelope/";> Soap data for Soap call with parameters: http://schemas.xmlsoap.org/soap/envelope/";> oren one two Thanks for your help Reproduce code: --- A zip file file SoapClient\Server can be found in following link http://myfreefilehosting.com/f/bf039ff168_0.1MB -- Edit this bug report at http://bugs.php.net/?id=42086&edit=1
#42086 [Com]: SoapServer return Procedure '' not present for WSIBasic compliant wsdl
ID: 42086 Comment by: michael dot tutty at gmail dot com Reported By: sanderovich at avaya dot com Status: No Feedback Bug Type: SOAP related Operating System: linux PHP Version: 5.2.3 Assigned To: dmitry New Comment: Also, the zip file referenced by the O.P. is available as of two minutes ago. Must have been a temporary outage. Previous Comments: [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 [2007-08-09 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". [2007-08-01 11:10:27] [EMAIL PROTECTED] I am not able to get code. Link doesn't work. "The file you are requesting is not accesible due to a hardware or ISP problem. Please retry Later". [2007-07-24 14:13:07] sanderovich at avaya dot com Description: When using WSI Basic compliant wsdl, a call to functions without parameters return procedure xxx not found despite the fact that the function exist(they exist both in the wsdl and in the array returned by SoapServer::getFunctions()). Functions with parameters are being executed correctly. For example: A Soap call to : firstFunctionWithoutParam() return the following SoapFault: http://schemas.xmlsoap.org/soap/envelope/";> SOAP-ENV:Server Procedure 'firstFunctionWithoutParam' not present despite the fact that the function exist in the return SoapServer::getFunctions() Array ( [0] => firstFunctionWithoutParam [1] => secondFunctionWithoutParam [2] => firstFunctionClassParam [3] => secondFunctionClassParam ) Soap Data (from $HTTP_RAW_POST_DATA): http://schemas.xmlsoap.org/soap/envelope/";> Soap data for Soap call with parameters: http://schemas.xmlsoap.org/soap/envelope/";> oren one two Thanks for your help Reproduce code: --- A zip file file SoapClient\Server can be found in following link http://myfreefilehosting.com/f/bf039ff168_0.1MB -- Edit this bug report at http://bugs.php.net/?id=42086&edit=1
#42086 [Com]: SoapServer return Procedure '' not present for WSIBasic compliant wsdl
ID: 42086 Comment by: michael dot tutty at gmail dot com Reported By: sanderovich at avaya dot com Status: No Feedback Bug Type: SOAP related Operating System: linux PHP Version: 5.2.3 Assigned To: dmitry New Comment: 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 Previous Comments: [2007-08-09 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". [2007-08-01 11:10:27] [EMAIL PROTECTED] I am not able to get code. Link doesn't work. "The file you are requesting is not accesible due to a hardware or ISP problem. Please retry Later". [2007-07-24 14:13:07] sanderovich at avaya dot com Description: When using WSI Basic compliant wsdl, a call to functions without parameters return procedure xxx not found despite the fact that the function exist(they exist both in the wsdl and in the array returned by SoapServer::getFunctions()). Functions with parameters are being executed correctly. For example: A Soap call to : firstFunctionWithoutParam() return the following SoapFault: http://schemas.xmlsoap.org/soap/envelope/";> SOAP-ENV:Server Procedure 'firstFunctionWithoutParam' not present despite the fact that the function exist in the return SoapServer::getFunctions() Array ( [0] => firstFunctionWithoutParam [1] => secondFunctionWithoutParam [2] => firstFunctionClassParam [3] => secondFunctionClassParam ) Soap Data (from $HTTP_RAW_POST_DATA): http://schemas.xmlsoap.org/soap/envelope/";> Soap data for Soap call with parameters: http://schemas.xmlsoap.org/soap/envelope/";> oren one two Thanks for your help Reproduce code: --- A zip file file SoapClient\Server can be found in following link http://myfreefilehosting.com/f/bf039ff168_0.1MB -- Edit this bug report at http://bugs.php.net/?id=42086&edit=1