Hi,
HttpServletRequest req = (HttpServletRequest)
msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
String clientIP = req.getRemoteAddr();
or try this
msgContext.getProperty("remoteaddr");
For more Information see
http://marc.theaimsgroup.com/?l=axis-user&m=104558048118031&w=2
Regards
Oliver
____________________________________________________________________
Oliver Adler, Senior Consultant
SYRACOM Systems AG - "The IT-Architects"
Otto-von-Guericke-Ring 15
D-65205 Wiesbaden
Tel +49 6122-9176-0
Fax +49 6122-9176-11
Mobil +49 175-1853998
E-Mail: [EMAIL PROTECTED]
www.SYRACOM.de
Ein Unternehmen der SYRACOM Gruppe - "The Business- & IT-Architects"
____________________________________________________________________
Der Inhalt dieser E-Mail ist ausschlie�lich f�r den/die in der E-Mail bezeichneten
Empf�nger
bestimmt. Wir d�rfen Sie bitten, sofern Sie nicht dem Empf�ngerkreis angeh�ren, uns
durch die
R�cksendung dieser E-Mail von deren irrt�mlichen Versand an Sie in Kenntnis zu setzen.
This e-mail may only be read by those persons to whom it is addressed. If you have
received this
e-mail message in error, please notify us immediately by returning this e-mail to the
sender and
delete this message.
-----Urspr�ngliche Nachricht-----
Von: Joachim Schneider [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 17. M�rz 2003 09:38
An: [EMAIL PROTECTED]
Betreff: Getting IP adress of the client
I want to do IP adress validation inside a Handler, but I don't know where to get the
client IP adress from. I haven't found anything using the MessageContext Object passed
to invoke.
Joachim