Hi Michele; At the transport phase URL based dispatching is happening and Dispatch phase other kind of dispatching happening. So once Axis2 find your service you can do this re direction. As I can see best solution is to add a phase last handler into Dispatch phase to do this.
So inside the handler logic you can check the message context and send the message to actual target. Michele Mazzucco wrote: >Hi all, > >I would like to redirect client requests (eventually because the target >node doesn't provide the required service), so I need to intercept them >through a message handler. > > >client ----> (handler -> pretended target) ----> real target (i.e. the >node providing the service) > >Could anybody of the Axis2 guys suggest me the best solution to do this? >At which level should I implement my interceptor, before the transport >phase or before the dispatch one? > > >Thanks in advance, >Michele > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > -- Thanks, Deepal ................................................................ ~Future is Open~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
