You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Sathija Pavuluri <sp...@EmprisaNetworks.com> on 2007/01/03 21:43:32 UTC

[Axis2] How to retrieve client's IP address?

Hello,

When a web service receives a client call, I'd like to extract the IP address of the client from where the call was
requested.
How is this possible using Axis2?

Thanks.
Sathija.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] How to retrieve client's IP address?

Posted by Martin Gainty <mg...@hotmail.com>.
java.net.InetAddress.getLocalHost().getHostAddress();

M-
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
From: "Sathija Pavuluri" <sp...@EmprisaNetworks.com>
To: <ax...@ws.apache.org>
Sent: Wednesday, January 03, 2007 3:43 PM
Subject: [Axis2] How to retrieve client's IP address?


> Hello,
> 
> When a web service receives a client call, I'd like to extract the IP address of the client from where the call was
> requested.
> How is this possible using Axis2?
> 
> Thanks.
> Sathija.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
>