Issues

ZF-3336: Zend_Rest XML format

Issue Type: Improvement Created: 2008-05-28T02:15:00.000+0000 Last Updated: 2012-11-20T20:52:40.000+0000 Status: Closed Fix version(s): - Next Major Release ()

Reporter: Christian Kissner (chrispsm&w) Assignee: None Tags: - Zend_Rest_Client

  • Zend_Rest_Server

Related issues: - ZF-3335

Attachments:

Description

Currently the format is inconsistent and carries unnecessary information (in addition to not being documented).

Suggested Improvement: - remove the called and method from the XML (they're known) - wrap any type of response in a root node - add the status as an attribute to the response Success: <response generator="zend" version="1.0" status="success'>

  • For exceptions adding the type of exception would be helpful <response generator="zend" version="1.0" status="failed'> FooBarException

Comments

Posted by Wil Sinclair (wil) on 2008-06-01T13:04:36.000+0000

Please evaluate and categorize as necessary. I've already targeted a release, but please update if that schedule is not appropriate or realistic.

Posted by Rob Allen (rob) on 2012-11-20T20:52:40.000+0000

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts