public function gravaprojetoAction() { /*$query = $this->getEm()->createQueryBuilder(); $query->select("e")->from('MyClasses\Entities\AclPerfil', 'e')->orderBy('e.perfil', 'ASC'); return new ViewModel(array('equipes' => $query->getQuery()->getResult(\Doctrine\ORM\AbstractQuery::HYDRATE_ARRAY)));*/ $cliente = new SoapClient($this->_WSDL_URI . '/wsdl'); new ViewModel(array('projeto' => $cliente->gravaProjeto("Projeto exemplo", "Projeto exemplo", "2015/12/31", null, 3))); }