0. intercepting ... just looking at it or doing something clever by a 
program-code?

        Just Looking at it - you can use TcpMonitor to see your soap/xml code 
traveling to the server (TcpMonitor is an interceptor too)

        Just Looking at it - you can use the soap-monitoring module (did never 
use it so far)

        Doing-something-clever-at-interception-point - you have to write your 
own code and develop an interceptor-modul.mar

1. In this case best look at the architecture of Axis2 first, 

2. look at the component model of AXIS2 , 
        in particular look about phases and global gains 
        using http://integ1:8080/axis2-1_2/axis2-admin/listPhases 
        and http://integ1:8080/axis2-1_2/axis2-admin/viewGlobalHandlers
        study about what modules and when they are becoming engaged at various 
points in time when a request travels to the server 
        and a response comes back.

3. and then take the Example Module Sample and do a trial until it deploys and 
gets engaged and invoked properly it is a bit of work but once you done
you have a perfect idea about what Axis2 can do for you. 
        
So in short : You can write, build, deploy, then-engage a client side 
interceptor-module.mar and do what you want at interception-point-and-time.
In example: ws-addressing to work needs the addressing.mar engaged at each 
side, client and server.

And writing an interceptor for a MS WCF-Client and a MS WCF-Service, I can help 
as well.


Josef.Stadelmann
@Axa-winterthur.ch 


-----Ursprüngliche Nachricht-----
Von: and) [mailto:andromedagal...@yandex.ru] 
Gesendet: Donnerstag, 18. Februar 2010 18:34
An: axis-user@ws.apache.org
Betreff: how to add interceptor for axis2 client


hi all

I need to add interseptor in client code, which will be triggered before
sending (pos/get)requests on server, it is possible in axis2?
-- 
View this message in context: 
http://old.nabble.com/how-to-add-interceptor-for-axis2-client-tp27642627p27642627.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to