#36721 [Asn->Csd]: The SoapServer is not able to send a header that it didn't receive.
| From: | dmitry@php.net | Date: | Tue, 21 Mar 2006 12:06:46 +0000 |
| Subject: | #36721 [Asn->Csd]: The SoapServer is not able to send a header that it didn't receive. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-94708@lists.php.net to get a copy of this message | ||
ID: 36721
Updated by: dmitry@php.net
Reported By: hjiverson at plauditdesign dot com
-Status: Assigned
+Status: Closed
Bug Type: SOAP related
Operating System: N/A
PHP Version: 5.1.3RC2
Assigned To: dmitry
New Comment:
Fixed in CVS HEAD and PHP_5_1.
See ext/soap/tests/server023.phpt, ext/soap/tests/server024.phpt and
ext/soap/tests/server025.phpt for more details.
Previous Comments:
------------------------------------------------------------------------
[2006-03-13 22:21:51] hjiverson at plauditdesign dot com
Tested with latest snapshot, same issue:
PHP 5.1.3RC2-dev (cli) (built: Mar 13 2006 20:18:23)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
------------------------------------------------------------------------
[2006-03-13 19:52:21] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2006-03-13 16:50:24] hjiverson at plauditdesign dot com
Description:
------------
The SoapServer is not able to send a header that it didn't receive,
since receiving a header seems to be what invokes the magic function.
For example, I have a sessionId header. The client makes its first call
and does not yet have a session initiated, and does not send the header.
The server should be able to send a sessionId header, whether it
received one or not.
Reproduce code:
---------------
http://pastebin.com/599820
Expected result:
----------------
The server should return the header with string "FROM SERVER: "
Actual result:
--------------
The server does not return any header unless one was sent.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36721&edit=1