added exceptions to SOAP and REST services