Click here to Skip to main content
15,880,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm consuming a web service which is bound to a specific IP adress.
e.g. https://service.ExternalCompany.com/GetInformation allows only request from (185.10.20.30)

I'm creating a windows application which should be used on multiply computers and networks. So the webservice rejects the request because of wrong source IP addresses.

My approach would be to change the endpoint uri to my own webservice.
Do I have to implement a httpListener (Webserver example class found in the web) or is there a way to configure IIS?

I would listen on https://service.myWebserver.com take the request, send it to https://service.ExternalCompany.com and return the result.

What I have tried:

MyWindowsApplication (dynamic IP) <=> service.MyWebserver.com[path] (fix IP) <=> service.ExternalCompany.com[path]
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900