Bug #44267 [Com]: soap server not persistence
Edit report at http://bugs.php.net/bug.php?id=44267&edit=1 ID: 44267 Comment by: ocyssau at free dot fr Reported by:falk dot herrmann at bike24 dot net Summary:soap server not persistence Status: No Feedback Type: Bug Package:SOAP related Operating System: Linux 2.6.23 PHP Version:5.2.5 Block user comment: N Private report: N New Comment: circumvent the bug by starting the session after the class definition: server.php == var++; return $this->var; } } $res = session_start(); $server = new SoapServer(NULL, array('uri' => 'http://localhost/')); $server->setClass('Bar'); $server->setPersistence(SOAP_PERSISTENCE_SESSION); $server->handle(); ?> Previous Comments: [2010-12-08 23:11:25] ocyssau at free dot fr It is the same on 5.3.0 [2010-06-11 23:21:35] nn at tronix dot pl I have exactly the same problem in PHP 5.3.2 [2010-04-14 20:26:46] marcio at invox dot es I have exactly the same problem in PHP 5.2.11 and 5.2.6-1+lenny3, is it fixed? How to solve this!?? Thanks a lot! [2008-10-29 01:00:02] 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". [2008-10-21 11:32:10] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ 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/bug.php?id=44267 -- Edit this bug report at http://bugs.php.net/bug.php?id=44267&edit=1
Bug #44267 [Com]: soap server not persistence
Edit report at http://bugs.php.net/bug.php?id=44267&edit=1 ID: 44267 Comment by: ocyssau at free dot fr Reported by:falk dot herrmann at bike24 dot net Summary:soap server not persistence Status: No Feedback Type: Bug Package:SOAP related Operating System: Linux 2.6.23 PHP Version:5.2.5 Block user comment: N Private report: N New Comment: It is the same on 5.3.0 Previous Comments: [2010-06-11 23:21:35] nn at tronix dot pl I have exactly the same problem in PHP 5.3.2 [2010-04-14 20:26:46] marcio at invox dot es I have exactly the same problem in PHP 5.2.11 and 5.2.6-1+lenny3, is it fixed? How to solve this!?? Thanks a lot! [2008-10-29 01:00:02] 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". [2008-10-21 11:32:10] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ [2008-07-10 18:48:33] davy dot defaud at free dot fr It still doesn't work for me even in 5.2.6. I tried everything I could, I'm really lazzy. 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/bug.php?id=44267 -- Edit this bug report at http://bugs.php.net/bug.php?id=44267&edit=1
Bug #44267 [Com]: soap server not persistence
Edit report at http://bugs.php.net/bug.php?id=44267&edit=1 ID: 44267 Comment by: nn at tronix dot pl Reported by: falk dot herrmann at bike24 dot net Summary: soap server not persistence Status: No Feedback Type: Bug Package: SOAP related Operating System: Linux 2.6.23 PHP Version: 5.2.5 New Comment: I have exactly the same problem in PHP 5.3.2 Previous Comments: [2010-04-14 20:26:46] marcio at invox dot es I have exactly the same problem in PHP 5.2.11 and 5.2.6-1+lenny3, is it fixed? How to solve this!?? Thanks a lot! [2008-10-29 01:00:02] 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". [2008-10-21 11:32:10] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ [2008-07-10 18:48:33] davy dot defaud at free dot fr It still doesn't work for me even in 5.2.6. I tried everything I could, I'm really lazzy. [2008-05-18 20:06:07] falk dot herrmann at bike24 dot net It seems that the code work with PHP 5.2.6 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/bug.php?id=44267 -- Edit this bug report at http://bugs.php.net/bug.php?id=44267&edit=1
Bug #44267 [Com]: soap server not persistence
Edit report at http://bugs.php.net/bug.php?id=44267&edit=1 ID: 44267 Comment by: marcio at invox dot es Reported by: falk dot herrmann at bike24 dot net Summary: soap server not persistence Status: No Feedback Type: Bug Package: SOAP related Operating System: Linux 2.6.23 PHP Version: 5.2.5 New Comment: I have exactly the same problem in PHP 5.2.11 and 5.2.6-1+lenny3, is it fixed? How to solve this!?? Thanks a lot! Previous Comments: [2008-10-29 01:00:02] 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". [2008-10-21 11:32:10] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ [2008-07-10 18:48:33] davy dot defaud at free dot fr It still doesn't work for me even in 5.2.6. I tried everything I could, I'm really lazzy. [2008-05-18 20:06:07] falk dot herrmann at bike24 dot net It seems that the code work with PHP 5.2.6 [2008-04-20 16:17:34] davy dot defaud at free dot fr I experienced the same problem on the same version 5.2.5, for a 2.6.24 kernel both on a i586 and a x86_64 systems (but I don't think it's system related). I already had this problem with an old 5.0.4 PHP but my code was working on a 5.2.1 including Suhosin so I was confident that it would work on my brand new mandriva 2008.1 server with the latest PHP, but it doesn't :-( This is a really critical bug for those using PHP as a SOAP server. We really need a quick fix. 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/bug.php?id=44267 -- Edit this bug report at http://bugs.php.net/bug.php?id=44267&edit=1
#44267 [Com]: soap server not persistence
ID: 44267 Comment by: davy dot defaud at free dot fr Reported By: falk dot herrmann at bike24 dot net Status: Open Bug Type: SOAP related Operating System: Linux 2.6.23 PHP Version: 5.2.5 New Comment: It still doesn't work for me even in 5.2.6. I tried everything I could, I'm really lazzy. Previous Comments: [2008-05-18 20:06:07] falk dot herrmann at bike24 dot net It seems that the code work with PHP 5.2.6 [2008-05-18 08:15:19] glenn at webmind dot be Having the same problem here. [2008-04-20 16:17:34] davy dot defaud at free dot fr I experienced the same problem on the same version 5.2.5, for a 2.6.24 kernel both on a i586 and a x86_64 systems (but I don't think it's system related). I already had this problem with an old 5.0.4 PHP but my code was working on a 5.2.1 including Suhosin so I was confident that it would work on my brand new mandriva 2008.1 server with the latest PHP, but it doesn't :-( This is a really critical bug for those using PHP as a SOAP server. We really need a quick fix. [2008-02-27 14:25:18] falk dot herrmann at bike24 dot net Description: A soap server with SOAP_PERSISTENCE_SESSION is not persistence if the class Bar extends class Foo and the class Foo was included via include() or required(). If the class Foo is directly in the server code file (server.php), soap server works correct. Reproduce code: --- server.php == var++; return $this->var; } } $server = new SoapServer(NULL, array('uri' => 'http://localhost/')); $server->setClass('Bar'); $server->setPersistence(SOAP_PERSISTENCE_SESSION); $server->handle(); ?> client.php == "http://localhost/server.php";, "uri" => "urn:xmethodsTest", 'trace' => 1 )); # SOAP requests try { $session = $client->login(); $client->__setCookie('PSESSION', $session); print $client->incVar(); print "\n"; print $client->incVar(); print "\n"; print $client->incVar(); print "\n"; print $client->incVar(); print "\n"; print $client->incVar(); print "\n"; } catch (SoapFault $sf) { # ... } ?> Foo.php === Expected result: 1 2 3 4 5 Actual result: -- 1 1 1 1 1 -- Edit this bug report at http://bugs.php.net/?id=44267&edit=1
#44267 [Com]: soap server not persistence
ID: 44267 Comment by: glenn at webmind dot be Reported By: falk dot herrmann at bike24 dot net Status: Open Bug Type: SOAP related Operating System: Linux 2.6.23 PHP Version: 5.2.5 New Comment: Having the same problem here. Previous Comments: [2008-04-20 16:17:34] davy dot defaud at free dot fr I experienced the same problem on the same version 5.2.5, for a 2.6.24 kernel both on a i586 and a x86_64 systems (but I don't think it's system related). I already had this problem with an old 5.0.4 PHP but my code was working on a 5.2.1 including Suhosin so I was confident that it would work on my brand new mandriva 2008.1 server with the latest PHP, but it doesn't :-( This is a really critical bug for those using PHP as a SOAP server. We really need a quick fix. [2008-02-27 14:25:18] falk dot herrmann at bike24 dot net Description: A soap server with SOAP_PERSISTENCE_SESSION is not persistence if the class Bar extends class Foo and the class Foo was included via include() or required(). If the class Foo is directly in the server code file (server.php), soap server works correct. Reproduce code: --- server.php == var++; return $this->var; } } $server = new SoapServer(NULL, array('uri' => 'http://localhost/')); $server->setClass('Bar'); $server->setPersistence(SOAP_PERSISTENCE_SESSION); $server->handle(); ?> client.php == "http://localhost/server.php";, "uri" => "urn:xmethodsTest", 'trace' => 1 )); # SOAP requests try { $session = $client->login(); $client->__setCookie('PSESSION', $session); print $client->incVar(); print "\n"; print $client->incVar(); print "\n"; print $client->incVar(); print "\n"; print $client->incVar(); print "\n"; print $client->incVar(); print "\n"; } catch (SoapFault $sf) { # ... } ?> Foo.php === Expected result: 1 2 3 4 5 Actual result: -- 1 1 1 1 1 -- Edit this bug report at http://bugs.php.net/?id=44267&edit=1
#44267 [Com]: soap server not persistence
ID: 44267 Comment by: davy dot defaud at free dot fr Reported By: falk dot herrmann at bike24 dot net Status: Open Bug Type: SOAP related Operating System: Linux 2.6.23 PHP Version: 5.2.5 New Comment: I experienced the same problem on the same version 5.2.5, for a 2.6.24 kernel both on a i586 and a x86_64 systems (but I don't think it's system related). I already had this problem with an old 5.0.4 PHP but my code was working on a 5.2.1 including Suhosin so I was confident that it would work on my brand new mandriva 2008.1 server with the latest PHP, but it doesn't :-( This is a really critical bug for those using PHP as a SOAP server. We really need a quick fix. Previous Comments: [2008-02-27 14:25:18] falk dot herrmann at bike24 dot net Description: A soap server with SOAP_PERSISTENCE_SESSION is not persistence if the class Bar extends class Foo and the class Foo was included via include() or required(). If the class Foo is directly in the server code file (server.php), soap server works correct. Reproduce code: --- server.php == var++; return $this->var; } } $server = new SoapServer(NULL, array('uri' => 'http://localhost/')); $server->setClass('Bar'); $server->setPersistence(SOAP_PERSISTENCE_SESSION); $server->handle(); ?> client.php == "http://localhost/server.php";, "uri" => "urn:xmethodsTest", 'trace' => 1 )); # SOAP requests try { $session = $client->login(); $client->__setCookie('PSESSION', $session); print $client->incVar(); print "\n"; print $client->incVar(); print "\n"; print $client->incVar(); print "\n"; print $client->incVar(); print "\n"; print $client->incVar(); print "\n"; } catch (SoapFault $sf) { # ... } ?> Foo.php === Expected result: 1 2 3 4 5 Actual result: -- 1 1 1 1 1 -- Edit this bug report at http://bugs.php.net/?id=44267&edit=1