Nop...
I've only found that:

"Note that the request will be null if the message came in over a different
transport."

See:
http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/HttpRequest

Good luck and Regards,
Patrick

 

> -----Original Message-----
> From: Luca Manganelli [mailto:[EMAIL PROTECTED] 
> Sent: Dienstag, 19. Oktober 2004 11:47
> To: [EMAIL PROTECTED]
> Subject: Re: Obtaining the client hostname inside *BindingImpl.java
> 
> Patrick Herber wrote:
> 
> >Hi,
> >
> >I think you could do something like:
> >
> >MessageContext context = MessageContext.getCurrentContext();
> >HttpServletRequest request = (HttpServletRequest) 
> >context.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
> >String clientHost = request.getRemoteAddr();
> >  
> >
> request is null. Any ideas?
> 
> I tried:
> 
>         Iterator i = context.getPropertyNames();
>         while (i.hasNext()) {
>             String v = (String) i.next();
>             System.out.println (v + " = " + msg.getProperty(v));
>         }
> 
> and it returns:
> 
> home.dir = .
> realpath = axis/services/EsempioService
> jws.classDir = jwsClasses
> attachments.directory = C:\Documents and 
> Settings\manganelli\Local Settings\Temp transport.url = 
> http://andromeda:8080/axis/services/EsempioService
> path = axis/services/EsempioService
> 
> 

Reply via email to