protected function processResult(array $handler, $result)
{
$isError = is_array($result) && isset($result['faultCode']);
$this->invokeHandler($handler['onSuccess'], $handler['onError'], $isError, $result);
$this->invokeHandler($this->onSuccess, $this->onError, $isError, $result);
}