cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: Exception Beans and @WebFault
Date Wed, 04 Feb 2009 21:25:05 GMT

I believe this is a symptom of:

Patches to fix this would be great.   Basically, around line 152 of 
ClientFaultConverter, if the constructor is null (update it to not throw the 
exception or similar), use reflection to copy all the fields from the bean to 
the exception.   


On Wed February 4 2009 2:46:14 pm Will Gomes wrote:
> I have a set of exceptions in package which I'm using in
> a Service residing in package
> I generated exception beans and placed them in package
> When I use the @WebFaultAnnotation to point to
> these fault beans, cxf throws the following error:
> org.apache.cxf.interceptor.ClientFaultConverter  - Exception occurred while
> creating exception:
> java.lang.NoSuchMethodException:
> I don't understand why this constructor is necessary in the exception
> class?
> Using @WebFault with jaxws metro implementation did not require this
> constructor.  If I get rid of the @WebFault, CXF is happy. Metro, however,
> dynamically generates rather
> than using I could not
> determine if CXF was also dynamically generating an exception bean in this
> scenario.

Daniel Kulp

View raw message