cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <>
Subject Re: How to handle exceptions in server side?
Date Wed, 24 Jun 2009 16:44:08 GMT

I'm not an expert at this but this is what I was able to manage with


tutu wrote:
> Hi all,
> I'm a newbe to apache cxf. I use it with spring. I've just written few web
> services and now I want to handle exceptions with them.
> For example, i have a web service named CreateUserService that create a
> user in database. I want this service to return exceptions if pb during
> user creation like:
> 100: admin athentication failed
> 200: invalid parameter
> 500: application error / database not reachable
> I've read few articles and searched for any solution in this forum but i
> do not found anything (may be i'm not a good searcher...).
> Does anybody has an idea or any solutions please?
> thanks,
> tugdual

View this message in context:
Sent from the cxf-user mailing list archive at

View raw message