users@glassfish.java.net

Re: Is it possible to define handlers in xml files instead of annotation?

From: Legolas wood <legolas.w_at_gmail.com>
Date: Tue, 10 Jul 2007 09:03:11 +0330

Jitendra Kotamraju wrote:
> Legolas wood wrote:
>> Hi
>> Thank you for reading my post
>> Is it possible to define handlers in xml files instead of using
>> annotation in each web services?
> Yes, use @HandlerChain( file="handlers.xml") See
> https://jax-ws.dev.java.net/nonav/2.1.2m1/docs/handlers.html
>
Hi, I meant exactly opposite of this way, I mean that I do not use
annotation to tell the application server that i have a handler that
should apply on messages of an specific web service. And rather I wan to
use an xml file to tell the application server that this handler should
apply for some web services.

Thanks
> Jitu
>>
>> Thanks