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();

Regards,
Patrick

 

> -----Original Message-----
> From: Luca Manganelli [mailto:[EMAIL PROTECTED] 
> Sent: Dienstag, 19. Oktober 2004 11:21
> To: [EMAIL PROTECTED]
> Subject: Obtaining the client hostname inside *BindingImpl.java
> 
> Hi,
> 
> I've made a WSDL and then used WSDL2Java with it do create a 
> web service.
> My question is: there is a way to know the client hostname of 
> the request inside the *BindingImpl.java source?
> 
> Thank you in advance
> 
> 
> 

Reply via email to