Thanks I fixed this.

Which discussion are you referring to? If you are using the JAX-WS frontend,
you do need to use @WebFault. If you're using the simple frontend, things
*should* work without the @WebFault annotation.

Regards,
- Dan

On 7/17/07, Benson Margulies <[EMAIL PROTECTED]> wrote:

http://cwiki.apache.org/CXF20DOC/developing-a-service.html



This page states that @WebFault goes on methods. However, it looks to me
as if @WebFault only goes on exception classes. The page could also use
an example.



XFire had a whole discussion about faults, which doesn't seem to have
percolated onto the CXF Wiki. As previously reported, simply throwing
any old exception does not seem to result in a specific client-side
class. I'm about to discover if adding @WebFault on the server side will
result in what I want.






--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

Reply via email to