For authentication, I need to get parameters of soap header when clients call me. I googled couple of hours but nothing found.
class myClass {
function syncRelation($params) {
Functions::logging($params);
}
$server = new SoapClient('sag_data.wsdl');
$server->setClass('myClass');
$server->handle();
At above code, I want to authenticate request before syncRelation
function.