I've been down that road and it is not what I am looking for.  If I do 
this then I need to hard-code the comparison to the SOAP action and I'd 
rather not do that. If the operation name ever changes then I'd need to go back 
and change the code.
That is not ideal.

Robert Wierschke wrote:
> Hi,
>
> you may read the SOAP action from the message and decide whether the 
> handler should do anything or not.
>
> regards
> robert
>
> 2008/7/18 Jack Sprat <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>>:
>
>     Hello.
>
>     Is there a way to add handlers only for specific operations in a
>     service and not for all?
>     For example, I'd like to validate the user/password in the SOAP
>     header on all operations except the simple echo operation.  I have
>     a handler set in the axis2.xml confg. file but that applies to all
>     operations.
>
>     Thanks,
>     T
>
>


      

Reply via email to