You can get it through MessageContext:

handleRequest(MessageContext context) {

......
        // HttpServletRequest may not be available
        HttpServletRequest req = null;

        // get it from Axis
        if
(context.containsProperty(HandlerUtil.MC_HTTP_SERVLETREQUEST))
{
            req = (HttpServletRequest)
context.getProperty(HandlerUtil.MC_HTTP_SERVLETREQUEST);
        }

.......
        if ( req != null ) {
            req.getRemoteAddr();
            req.getRemoteHost();
        }



--- Justin Avaya <[EMAIL PROTECTED]> wrote:
> Hi, 
> I am writing a simple Java program and using Apache
> Axis to generate the web service. I am writing the
> server. I need to capture the IP address of the
> client who is trying to connect to me to log him in
> my database. In a servelt I would use the request
> object. How do I do it here.
> 
> Thank you for your help.
> regards,
> Subbiah


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Reply via email to