public function getShippings() { try { $adminService = new SoapClient(Config::get('wsdl.admin'), array()); $result = $adminService->getShippings(); return array('shippings' => $result); } catch (Exception $ex) { Log::error($ex); return array('role' => 'user'); } }