axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eran Chinthaka <>
Subject Re: [Axis2] How to get the service URL and method in handler?
Date Thu, 08 Jun 2006 09:03:31 GMT
Samisa Abeysinghe wrote:
> Forwarding with correct prefix.
> hi all,
> I want to use handler to log which service the client is accessing,
> for example the service URL, name and method, but in the handler
> invoke() method, there is only the MessageContext that can be used.
> (I tried most the mc.getXXX() method but no one is helpful to get
> information above.)

Put a handler after the dispatch phase.

Getting service name :

Getting Operation name :

Getting service url :

-- Chinthaka

View raw message