-- Chris Hartjes <[EMAIL PROTECTED]> wrote (on Monday, 05 March 2007, 04:55 PM -0500): > I'm busy converting my use of Zend_Service_Rest to Zend_Rest_Client > for my Audioscrobbler component, and I'm noticing that I'm getting a > lot of warnings when non-XML data is coming back from the REST > request. > > Any tips on handling these warnings? Audioscrobbler doesn't always > return an XML response.
When I did Zend_Service_Akismet, I simply didn't use Zend_Rest_Client -- the architecture of that component is XML-centric, and doesn't lend itself to non-XML REST services. You can take a look at the code I wrote for Zend_Service_Akismet if you need ideas -- basically, I just send data using Zend_Http_Client, and parse the response. -- Matthew Weier O'Phinney PHP Developer | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/
