RE: Could I get the client IP address in service or Handler class ?

2006-06-22 Thread Xingshan He
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:

Re: Could I get the client IP address in service or Handler class ?

2006-06-22 Thread Davanum Srinivas
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

Re: Could I get the client IP address in service or Handler class ?

2006-06-22 Thread 蘇 軼(CEC)
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

Could I get the client IP address in service or Handler class ?

2006-06-21 Thread 蘇 軼(CEC)
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