on 10-18-2007 11:41 AM
Hi everyone,
I wrote a simple java class with a method HelloWorld.
Is there a way to have the IP of the calling machine (of the machine that calls the web service) ?
Thanks.
Regards.
Hi! David,
your question is not clear(at lease to me).
stand alone Java application and WebService are two different technology.
ya, i agree that web-service can be implemented in Java as well.
So, please clarify what exactly you want?
Do you want an API which gives the IP address of client machine?
regards,
Mithileshwar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I agree that the question is not so clear.
My boss thinks that I can retreive from the web service the IP of the call (the one that consumes the web service).
But that web service is a standalone class.
Example :
<code>
public String HelloWorld()
{
System.out.println("HelloWorld");
}
</code>
Of course, I cannot get the IP of the machine that consumes that web service.
Is there a way, other than standalone class, to get the IP (or other details) of the consumer ?
Thanks.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.