Link to home
Start Free TrialLog in
Avatar of eadam-uk
eadam-ukFlag for United States of America

asked on

Obtain client ip address from web service

I have developed a webservice in java.

I have a single application which needs to be concurrently accessed by multiple clients. Therefore I need to know which client has made each request. Is there a way to obtain the client ip address from the soap response?

ASKER CERTIFIED SOLUTION
Avatar of petiex
petiex
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tbeernot
tbeernot

The answer from petiex above assume some things about the SOAP library you are using and that you are using HTTP as the transport. Let me first ask that: what SOAP library are you using and what is the transport?

The answer is essentially correct though: you need to get access to you transport protocol (usually HTTP) and get it from there.