public function getServerResponseFor($nativeVars) { $response = new Zend_XmlRpc_Response(); $response->setReturnValue($nativeVars); $xml = $response->saveXML(); $response = $this->makeHttpResponseFrom($xml); return $response; }
/** * saveXML() test */ public function testSaveXML() { $this->_response->setReturnValue('return value'); $xml = $this->_response->saveXML(); $this->_testXmlResponse($xml); }