I have very limited experience working with web services and even less working with SOAP (unless the shower counts). But can't you catch the sql error and return whatever you want via the webservice call? Or is this not related to a particular method in the web service but the web service as a whole?