Which distribution of Axis2 are you using? Is it war distro or
stand-alone server?

If it is war distribution, the you can get hold of HTTPServletRequest
object by calling

messageContext.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST)

HTTPServletRequest object will have the caller's address.

-- Chinthaka

Alex Hollerith wrote:
> hi,
> 
> is there a clever way to get hold of a callers ip-address from inside an
> AbstractInOutSyncMessageReceiver object? We tried to go from the 
> MessageContext
> to the ServletContext - but couldn't find a way to get to the callers 
> address...
> 
> the case behind this is that we would like to know who called us and make this
> information persistent with our business objects.
> 
> thanks
> alex
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to