You need to sign in to do that
Don't have an account?
AdityaR
Apex Webservice Query
Hi,
We have implemented an apex webservice which is invoked by our client by consuming its wsdl. Is there a getRemoteHost() (or similar) call in apex which can be used to find out the IP address and the name of the machine from which the salesforce webservice was invoked ?
Thanks,
-Aditya
Try ApexPages.currentPage().getHeaders().get('X-Salesforce-SIP')
I have not tried this, may be this would be useful for you.
The below thread can be helpful for you
http://boards.developerforce.com/t5/Visualforce-Development/HTTP-Header-Values-for-client-IP-Address/td-p/138115
Regards,
crmtech21