hi Michele,

Thank you for your help.
I tried... I think these methods could be used in Axis2 but not Axis1.4. :(

Sorry for confused title !

- sukie

----- Original Message ----- 
From: "Michele Mazzucco" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, June 08, 2006 5:41 PM
Subject: Re: How to get the service URL and method in handler?


> mc.getAxisService() gets the target service (.getEndpoint() returns the
> target service endpoint).
> mc.getAxisOperation() gets the axis operation
>
> You have to put your handler after the system handlers, since these
> values are filled into the transport/dispatch phase.
>
>
> Michele
>
> 蘇 軼(CEC) wrote:
> > 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.)
> >
> > I think I can force the client setting these informations to the header
> > of soap message, but Is there any better way to implement it?
> >
> > Any help or web resources would be greatly appreciated !
> >
> > - sukie
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to