You can use client which set SOAPAction ( maybe annotation will help
). I don't know any other way to do this, because all other important
data are ecrypted.

On 10/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,

thank you for your fast response. I have already tried your suggested solution 
but unfortunately the operation is not yet set (is null). I want to use a 
handler just before dom and wss4j handlers in order to decide if an operation 
has to be secured (maybe be config in services.xml). If called method is not in 
list, dom and wss4j should be just skipped.
But as i said, i do not have a method name at this time. Any hints how I could 
lookup the operation name without loosing too much performance?

Regard,
Chris

Tomek Sztelak wrote:
> Hi
>
> On 10/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> is it possible to restrict Handlers to operations (java methods) inside a 
service definition? For example, I have method m1() and method m2() inside service x 
and just want to use a handler for method m1().
>> Do I have to parse the SOAP Body by myself (with DOMInHandler) or must I use 
SOAPAction or WS-Adressing? Is there any easier solution?
>
> You can add operation name checking inside your handler body:
>
> if( !"m1".context.getExchange().getOperation().getName() ){
> return ;
> }
>
>> Another question: If I use DOMInHandler due to wss4j, how strong will be the 
performance impact in theory? Will any message be double parsed?
>
> Most of the XFire performace will be lost ( i'll be doing such
> performence test this weekend, so you can ping me then ),  you can
> expect maybe 20 times worse performece ( i'm just guessing here  :)
>>
>> Thanks for answers!
>>
>> Chris
>> --
>> GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
>> NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list please visit:
>>
>>     http://xircles.codehaus.org/manage_email

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
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