go to bug id or search bugs for
When I send a SOAP Request to a server, I want to authenticate first for a Response, I have to send credentials to "log" in. Normally this is part of Header. Since client has support to add Header to a Request, there's lack of it on the server side. My suggestion is since normally when you send a Request is a one time request that calls a function with argument, that there should be added argument to that same function as the first argument, but only with header data and if there's no header information then this argument should be null.
function server_code( $body, $header )
$server = new SoapServer( 'somefile.wsdl' );
$server->addFunction( "server_code" );
Add a Patch
Add a Pull Request
I don't believe this is a bug. If you want to perform HTTP Authentication on the SoapServer, just do that before calling SoapServer::handle().