Log Message: |
Improved: Handle service response effectively
(OFBIZ-9981)
As per discussion on Dev ML:
==========================
Every service calling from java/groovy must handle errors by service util
methods such as isError, returnError etc.
and similarly in case of XML <call-service, there should be <check-error/>
to make sure service was executed successfully.
Apart from this, one suggestion is to include *Debug.logError* in
*ServiceUtil.returnProblem* so that in case of any error occurred and handled,
it will always be logged on the console.
==========================
jleroux: this is the applications part with some slight changes
Thanks: Suraj Khurana and Anushi Gupta
|