/** * Execute a handler service * * Method is a wrapper for handling all executed services * * @access private * @param string $handler The service to execute * @param array &$data The referenced data array * @return mixed The output of the executed service */ private function execHandler($handler, &$data) { if (!parent::exec($output, $handler, "handle", $data)) { $this->setLastError("An error occured in the " . $handler . " SOAP handler: " . parent::getLastError()); } return $output; }