Fixes to output a web service error message