If you ask about defining handlers using annotations, then yes,you can use :

@InHandlers(handlers={"foo.bar.MyHandler1","foo.bar.MyHandler2"})
@OutHandlers
@FaultHandlers



On 1/15/07, Zarar Siddiqi <[EMAIL PROTECTED]> wrote:


Any news on this problem?  Is there a way to specify inHandlers for your web
services.  I've set things up as per this:

http://www.logemann.org/blojsom/blog/default/2006/05/26/Webservices-with-Spring-XFire-and-jsr181.html

Any help is appreciated.



Cooper, James wrote:
>
> Sure, I'll try and get around to this on Monday.
>
> -----Original Message-----
> From: Tomek Sztelak [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 13, 2006 10:27 AM
> To: [email protected]
> Subject: Re: [xfire-user] Defining in and out handlers with Annotations
>
> Sorry, i was mistaken :)
> Can you create jira issue and attach your handler annotation code there ?
>
> On 10/11/06, Cooper, James <[EMAIL PROTECTED]> wrote:
>> Hi,
>> Well I've just finished do just this. Basically you have a few
>> problems to overcome. For a start the js181 annotations does not yet
>> support handlers(even though from the codebase, most of the
>> implementation is actually there) and the specification only supports
> having one handler.
>>
>> I created my own handler annotation implementation, the containing an
>> enum of handlers I wanted to apply. Then I created my own instance of
>> Jsr181HandlerMapping. Which provided custom processing of the
>> annotation and added the in handlers to the service instance.
>>
>> Not a perfect implementation, by any manner or means but worked nice
> enough.
>> I'd be happy enough to post the code somewhere.
>>
>>
>> James
>>
>>
>> -----Original Message-----
>> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Choon Whee
>> Sent: Tuesday, October 10, 2006 5:57 AM
>> To: [email protected]
>> Subject: [xfire-user] Defining in and out handlers with Annotations
>>
>> I am trying to implement WS-Security on XFire with Spring and JSR181
>> annotations. However I could not find any documentation on how the
>> inHandlers and outHandlers for using WSS4J are added.
>>
>> Could someone explain how its done or point me in the right direction?
>> Thanks!
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>
>
> --
> -----
> When one of our products stops working, we'll blame another vendor within
> 24
> hours.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>

--
View this message in context: 
http://www.nabble.com/Defining-in-and-out-handlers-with-Annotations-tf2414155.html#a8376425
Sent from the XFire - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email




--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to