> MessageContext msgContext = AxisServer.getCurrentMessageContext();
> HttpServletRequest req =
>(HttpServletRequest)msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
> System.out.println("A client on the IP address " + req.getRemoteHost() + " is
>accessing my web service.");
>
>
> As you see, I am using this to get the IP address of the client, but the req object
>above does also have the methods "Cookie[] getCookies()" and "HttpSession
>getSession()". I have not tried to use these, but I guess it is the latter you need?
>(Andrew wrote: "...getSession().getId();")
I feel there is a slight lack of updated documentation. Maybe I'm just looking in the
wrong places. How did you know that the constant MC_HTTP_SERVLETREQUEST corresponds
to a class called HttpServletRequest? Is it just because the name made it obvious to
you? I haven't done web programming before so I am guessing there might be background
knowledge that I'm missing that might have helped me out here. Thanks for all your
help people, I'm sure it's a bit obnoxious being asked these obvious questions.