Hi,

There is no good way to do this. Since the SOAP envelope does not contain
the client IP address and  the HTTP headers (which contain the client IP)
are stripped off by the CXF/JBI infrastructure layer before the SOAP
envelope is picked up for further processing.

The best way to go about getting this would be via an HTTP Proxy server.

Cheers,

Ashwin...


Ginobean wrote:
> 
> 
> Hi, 
> 
> We have a servicemix engine, running under Jetty, with web services
> (servicemix-cxf-se).
> 
> When a web service is invoked this engine, is there a way to
> programmatically determine the IP of the client machine that invoked the
> web service request ?
> 
> Thanks, 
> 
> Gino.
> 


-----
--- 
Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence 
Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
--- 
+1-972-304-9084 (Office) 
+1-972-971-1700 (Mobile) 
---- 
Blog: http://opensourceknowledge.blogspot.com/


-- 
View this message in context: 
http://www.nabble.com/How-do-I-programmatically-determine-the-IP-address-of-the-client-machine-that-invoked-our-web-service---tp21861171p21871261.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to