Hi Jorge,

You can obtain the client IP by getting HttpServletRequest object within an
axis2 handler. That is how we get the client IP in our BAM data
agents. Hope this will be helpful [1].

Thanks,
KasunW

[1]
https://svn.wso2.org/repos/wso2/branches/wso2bam-2.0.0-ALPHA2/3.2.0/components/data-agents/org.wso2.carbon.bam.service.data.publisher/3.2.4/src/main/java/org/wso2/carbon/bam/service/data/publisher/modules/StatisticsHandler.java

2012/4/25 Jorge Infante Osorio <[email protected]>

> Hi all.****
>
> ** **
>
> how to get the IP or host name from where a client consumes a service?****
>
> ** **
>
> Saludos,****
>
> Ing. Jorge Infante Osorio.****
>
> J´Dpto Soluciones SOA.****
>
> CDAE.****
>
> Fac. 5.****
>
> UCI.****
>
> ** **
>
>   <http://www.uci.cu/>
>
>
> _______________________________________________
> User mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/user
>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
_______________________________________________
User mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/user

Reply via email to