I have attached the two files that I am working on. Please let me know if you have any questions.
Thanks, Mark http://www.nabble.com/file/7018/test.php test.php http://www.nabble.com/file/7019/TestController.php TestController.php Matthew Weier O wrote: > > -- mreverman <[EMAIL PROTECTED]> wrote > (on Tuesday, 06 March 2007, 12:12 PM -0800): >> I have been trying to get Zend_XmlRpc_Server to work with more than one >> @param. Has anyone been successfull in doing so? > > Yes -- I have a lot of classes setup to be served via > Zend_XmlRpc_Server. Can you provide the docblocks and method prototypes > for the methods you're trying to serve? > > For example: > > class Service_User > { > /** > * @param int $id > * @param string $name > * @param string $info > * @return boolean > public function addEntry($id, $name, $info); > } > > That may help me help you with debugging. > >> I would like to implement this with a controller as well. I am usually >> getting the errors: >> FaultCode 631 >> fault StringFailed to parse request > > The above error is an indication that the XML in the request was > malformed -- it's actually from DOM, indicating it cannot parse the XML, > and thus create the DOMDocument. > >> There are times when i get an xml reply with no value such as >> ----- REQUEST >> ------------------------------------------------------------------ >> <?xml version="1.0" encoding="UTF-8"?> >> <methodCall><methodName>flabben.addEntry</methodName><params><param><value><int>1</int></value></param><param><value><string>Test</string></value></param><param><value><string>Huhu</string></value></param></params></methodCall> >> >> ----- RESPONSE >> ----------------------------------------------------------------- >> <?xml version="1.0" encoding="UTF-8"?> >> <methodResponse><params><param><value><string/></value></param></params></methodResponse> > > Is your method actually returning a value? It's entirely possible that > nothing's being returned, or an empty string is being returned. You can > check that on the server end by logging your responses. > > -- > Matthew Weier O'Phinney > PHP Developer | [EMAIL PROTECTED] > Zend - The PHP Company | http://www.zend.com/ > > -- View this message in context: http://www.nabble.com/Zend_XmlRpc_Server---Controller-tf3323336s16154.html#a9354629 Sent from the Zend Framework mailing list archive at Nabble.com.
