My asp.net system has to consume a web service on my client's server to retrieve XML data. The web service is secured by IP address so that it only returns the right result only when the consumer is from a known IP Address. I'm still developing my asp.net system, and for me to test the system, my client has my public IP address (range of IP address so that other developers can test as well) to add it to their IP address list. I can access to the web service directly from my browser. However, I'm not able to access to the web service from my asp.net code. (They redirect me to their login page right now instead of sending me XML data.) My understanding of IP address of my development (local) environment is that my asp.net system uses local host but when it reaches to the web service the web service sees my request as from my public IP address. (like localhost -> private ip address -> public ip address) Is that right? In that case, is there anything I should do in my asp.net code? Or am I thinking totally wrong?
Thank you in advance.