#38309 [Opn->Bgs]: SoapServer doesn't seem capable of processing SOAP Headers
| From: | dmytton@php.net | Date: | Sat, 24 Feb 2007 21:53:25 +0000 |
| Subject: | #38309 [Opn->Bgs]: SoapServer doesn't seem capable of processing SOAP Headers | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969375601@lists.php.net to get a copy of this message | ||
ID: 38309
Updated by: dmytton@php.net
Reported By: hummel at channeladvisor dot de
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: Windows
PHP Version: 5.1.4
New Comment:
Processing headers is nothing to do with addFunction(). This isn't
really a documentation issue because there is no function to process
headers. I'm going to close this as a documentation issue. If you want
to request it as a feature, reopen as a feature request.
Previous Comments:
------------------------------------------------------------------------
[2006-08-03 13:13:34] hummel at channeladvisor dot de
On the documentation page
http://de2.php.net/manual/en/function.soap-soapserver-addfunction.php
add the following note below the existing note:
Note: You cannot process SOAP headers using addFunction. The only way
to process SOAP headers is to extract them via $HTTP_RAW_POST_DATA and
process them before calling SoapServer->handle().
------------------------------------------------------------------------
[2006-08-03 13:00:51] tony2001@php.net
Please explain - what exactly should be documented?
The fact that there is no such function?
------------------------------------------------------------------------
[2006-08-03 12:34:15] hummel at channeladvisor dot de
Dear Tony,
after reading my initial request, it is certainly clear what my request
was.
However, it should be documented that processing SoapHeaders within a
SoapServer is not possible.
------------------------------------------------------------------------
[2006-08-03 12:22:31] tony2001@php.net
If it's not documented - it is not possible.
Please express your thoughts more clearly next time.
Thank you.
------------------------------------------------------------------------
[2006-08-03 12:06:16] hummel at channeladvisor dot de
I guess my request was not clear.
A developer can register SOAP functions via calling
$server = new SoapServer("<somewsdl>");
$server->addFunction("<functionname>");
but there seems no method to do
$server->addHeaderFunction("<headerfunctionname>");
Given my example above, I want to process the header
"RequesterCredentials", so I would have to do something like
$server->addHeaderFunction("RequesterCredentials");
It is not documented wether header processing is possible using
SoapServer or not.
------------------------------------------------------------------------
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/38309
--
Edit this bug report at http://bugs.php.net/?id=38309&edit=1