it works, thanks a lot,Tony. dacheng ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 9:39 AM Subject: Re: How can I get the full path of the destination endpoint of a soap message in the handler
> You can get the original HTTP servlet request with: > > ( HttpServletRequest )msgContext.getProperty( > HTTPConstants.MC_HTTP_SERVLETREQUEST ) > And, from this, you can get at all the information you need about the > request, including getRequestURL(), which returns the full client request > URL. > Tony > > > > Dacheng <[EMAIL PROTECTED]> > 21-Nov-2004 01:17 > > > > > > Hi, everyone: > > I am developing a handler and try to use this handler to print out the > destinations of the SOAP messages. Current I only can use > MessageContext.getTargetService() to get the name of the service. Could > anyone do me a favor to tell me how to get the full path (such as > http://129.234.4.11/testWebservice) of a Web service in a handler? > > Thank you in advance!!! > > Dacheng > > > >