Greetings:

currently when the service return several objects, the xml field of the objects returns is like :

blabla


blibli

etc...
It would be nice if we could choose the name of the filed to be used (which should be the same for all the objects of the same type).
For ex:

blabla


blibli

It might be already possible but I can't figure how.
damien

Comments

cirotix’s picture

To solve my problem (different name for the same type of object) I have hacked the Zend framework
Line 304 of library/Zend/Rest/Server.php
change:

$key = 'key_' . $key;

into:

key = 'key';

but this is kind of ugly of course

nonsie’s picture

http://drupal.org/node/248459#comment-1327252 is patch that also fixes this issue in D5