ID:               38309
 User updated by:  hummel at channeladvisor dot de
 Reported By:      hummel at channeladvisor dot de
-Status:           Feedback
+Status:           Open
 Bug Type:         SOAP related
 Operating System: Windows
 PHP Version:      5.1.4
 New Comment:

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().


Previous Comments:
------------------------------------------------------------------------

[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.

------------------------------------------------------------------------

[2006-08-03 10:18:06] [EMAIL PROTECTED]

All docs are available @ php.net.
There shouldn't be any differencies in SOAP except for bugfixes.

------------------------------------------------------------------------

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

Reply via email to