On Friday, March 09, 2012 04:11:01 AM Néstor Boscán wrote:
> Hi
> 
> I'm using CXF that comes with JBoss 6.1.0. I would like to define
> namespaces for my classes and exception classes. I defined @XmlType
> annotations for my classes and exception classes but when I publish them I
> only get the namespace for the objects and not for the exceptions.

THe namespace for the faults would be on the @WebFault annotation.

> Is
> there a way to define this configuration outside the classes?

Not easily, no.   You can write a custom subclass of 
org.apache.cxf.service.factory.AbstractServiceConfiguration that maps 
everything any way you want, but that would be quite a bit of work.


> 
> Regards,
> 
> Néstor Boscán
-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to