Audience: Moodle web service developers
Hi,
at the moment in our web servers if these two conditions are met:
* a return value is set to PARAM_XXXX
* the externallib.php::methodname() return a value not matching PARAM_XXXX
then:
* REST-XML will return the value
* all other servers will throw an exception (invalid_response_exception)
If you are against validating the REST-XML (it seems we are going into the direction), you are very welcome to give your reason in MDL-29459 or here. This change could break some thirdparty clients that:
a) use thirdparty web services and ...
b) are only using REST and ...
c) expect values not matching the description. (most likely a bug from the web service)
Thank you.