ID: 38309 Updated by: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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