I'm having a few problems figuring out how to get Zend_Rest_Server to work within the MVC setup.
Right now, I use a non-MVC setup.. flat script, server is instantiated, a class is connected, then $server->handle(); That works well, and I have no problems using Zend_Client to do it. When I try to break it down into an MVC approach, things go bad. For the sake of simplicity, and because it was a good starting point, I put everything into one action, the IndexAction. I seem to be getting the request okay, but I'm not getting any kind of valid data back from the handler and I'm not sure where it's going wrong. I've even tried parsing the parameters and forming a stripped-down request array (consisting of arg and method) but to no avail. Oh, for what it's worth, my error logs are full of simplexml_load_string errors. Has anyone else done this or have any recommendations? Is it a good idea to try to run a Zend_Rest_Server from inside a controller, or should I stick with a simple one-off script? The few tutorials I found weren't especially helpful, but I'd appreciate any advice. Thanks in advance for any help. kabel
