I have written a Windows service (service A) that we are going to allow our customers to call from outside our network. That service calls another one I wrote (service B), on a different server, hosted in IIS. Service B has proprietary information and it is essential that nobody can access it directly from outside our network.
However, when I wrote a test application to simulate customers calling service A, it threw an error until I put the endpoint address for service B in the app config for the test app. I do not want to give this information to my customers, as I need to keep service B secure.
Obviously I have this set up wrong, or I am doing something wrong. Can anyone help me out with getting this scenario to work?