Czesc mam taki maly problem testuje wlasnie skrypt z ksiazki "Beginning with ZF" i natrafilem na problem . A mianowicie mam cos takiego:
MAm taki serwer:
to jest 127.0.0.1/public/services/getartists - i ten skrypt dziala ok bo po wejsciu pokazuje kog xml ktory zraca metoda getartist z webservices klasy
  1. <?php
  2. class ServicesController extends Zend_Controller_Action
  3. {
  4.  
  5. public function init()
  6. {
  7. /* Initialize action controller here */
  8. }
  9.  
  10. public function indexAction()
  11. {
  12. // action body
  13. }
  14.  
  15. public function getartistsAction()
  16. {
  17. require_once APPLICATION_PATH . "/models/webservices/webservices.php";
  18.  
  19.  
  20.  
  21. $server = new Zend_Rest_Server();
  22. $server->setClass('webservices');
  23. $server->handle(array('method' => 'getartist'));
  24. }
  25.  
  26. }


a nastepnie mam klient :
  1. ?php
  2. class TestController extends Zend_Controller_Action
  3. {
  4.  
  5. public function init()
  6. {
  7. /* Initialize action controller here */
  8.  
  9. }
  10.  
  11. public function indexAction()
  12. {
  13. // action body
  14. }
  15.  
  16. public function clientwsAction()
  17. {
  18. $Client = new Zend_Rest_Client("http://localhost");
  19. try{
  20. $results = $Client->get("public/services/getartists");
  21. if($results->isSuccess()){
  22. echo $results->getBody();
  23. }
  24. }catch(Zend_Service_Exception $e){ throw $e; }
  25. //Suppress the view
  26. $this->_helper->viewRenderer->setNoRender();
  27.  
  28. }
  29. }


i po wywolaniu 127.0.0.1/public/test/clientws nic nie zwraca ani xml ani bledu
czy ktos moglby mi pomoc bo w sumie dopiero probuje sie uczyc i utknalem w tym punkcie
dzieki z gory za podpowiedzi