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 :
msgContext.getServiceContext().getAxisService().getName()

Getting Operation name :
msgContext.getOperationContext().getAxisOperation().getName()

Getting service url :
msgContext.getTo().getAddress()

-- Chinthaka

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to