Try this:
MessageContext messageContext = MessageContext.getCurrentContext();
String ipAddress =
MessageContext.getStrProp(org.apache.axis.Constants.MC_REMOTE_ADDR);
-Original Message-
From: Peter Feng [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 22, 2006 10:58 AM
To:
http://wiki.apache.org/ws/FrontPage/Axis/ClientIP
On 6/22/06, Peter Feng [EMAIL PROTECTED] wrote:
Perhaps you can check the Soap Envelope headers or Set
Soap Headers with this in your client code.
On the client side to set them if they don't exist in
your soap envelope already...
with
hi XingShan and Davanum,
Thank you very much for your help !
Now I can get the client IP, thanks again !
Regards,
- sukie
- Original Message -
From: 蘇 軼(CEC) [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Thursday, June 22, 2006 11:24 AM
Subject: Could I get the client IP address
hi all,
Could I get the client IP address in service class? or Handler's invoke()
method ?
Any help or web resources would be greatly appreciated !
Regards,
- sukie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional