/** * Comment ad * * @param int $id * @return Response */ public function comment($id) { try { $messageService = new SoapClient(Config::get('wsdl.message'), array()); $comment = new Comment(); $comment->text = nl2br(Input::get('text')); $result = $messageService->addCommentToAd(array("adId" => $id, "comment" => $comment)); } catch (Exception $ex) { } }