you need to write an axis2 module. please have a look at here[1]. thanks, Amila.
[1] http://wso2.org/library/articles/extending-axis2 On Thu, Feb 18, 2010 at 11:47 PM, Stadelmann Josef < josef.stadelm...@axa-winterthur.ch> wrote: > 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-u...@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. > > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/