You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "G.Long" <jd...@gmail.com> on 2013/05/20 10:41:32 UTC

question about exceptions and null value

Hi :)

I've got a webservice generated with CXF 2.5. I specified that all 
methods of my webservice can throw a custom exception (configured with 
@WebFault).

For one of these methods, I would like it to return null. But when it 
does, on the client side the webservice throws my custom exception 
instead of just returning null.

Is it a normal behaviour or did I do something wrong?

Thank you :)

Gary