This content has been marked as final.
Show 3 replies
-
1. Re: Server
thomas.diesler Jun 27, 2004 5:46 PM (in response to diegomemo)You will have to provide your own pivot point handler, replacing HTTPSender
-
2. Re: Server
nehring Jun 28, 2004 7:38 PM (in response to diegomemo)You can get the MessageContext from Axis and then get the HttpServletRequest from that context.
For example, to get the remote host from within a Axis SOAP service, I do something like this:MessageContext msgctx = AxisEngine.getCurrentMessageContext(); HttpServletRequest req = (HttpServletRequest) msgctx.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST); String remoteHost = req.getRemoteHost();
Best regards,
Lance Nehring
www.newparticles.com -
3. Re: Server
diegomemo Jun 30, 2004 5:27 AM (in response to diegomemo)Thank you... that's ok...you save my life... but if you are in localhost the istructin: getRemoteHost() return the localhost.
You can useing : getHeader("User-Agent")
thanks you very much
bye.
PS: Sorry for my bad english.