|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36721 The SoapServer is not able to send a header that it didn't receive.
Submitted: 2006-03-13 16:50 UTC Modified: 2006-03-21 13:06 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: hjiverson at plauditdesign dot com Assigned: dmitry (profile)
Status: Closed Package: SOAP related
PHP Version: 5.1.3RC2 OS: N/A
Private report: No CVE-ID: None
 [2006-03-13 16:50 UTC] hjiverson at plauditdesign dot com
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:

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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-13 19:52 UTC]
Please try using this CVS snapshot:
For Windows:

 [2006-03-13 22:21 UTC] 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-21 13:06 UTC]
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.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 07:01:34 2024 UTC