Yes that's correct, the class generated in the correct package is an empty
bean. While the class generated in the service package is an exception. Is
there a way to have the exception class in the package that I define?

Regards,

Néstor Boscán

On Mon, Mar 12, 2012 at 4:32 PM, Néstor Boscán <[email protected]>wrote:

> Hi Daniel
>
> Thanks for the reply.
>
> I used @WebFault and I'm getting now two exception classes. One empty
> exception class in the correct package, and one exception class in the
> service package. I would like to have my exception classes generated with
> their respective attributes in the correct package.
>
> Regards,
>
> Néstor Boscán
>
>
> On Mon, Mar 12, 2012 at 2:50 PM, Daniel Kulp <[email protected]> wrote:
>
>> 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