The WCF service that I created works fine when tested locally but does only randomly when deployed on the company's test server.
I have some questions on what I see.
Given the deployment location of the application, I am able to browse to the svc file as below.
But the page (the default page for svc) shows a slightly different address, something like this.
Meaning the server name that I used to deploy is replaced with a new server name. Sometimes it is abcdef801w.domain.root.org
. What are those names? the actual servers that balance load for "srvdev"?
Until sometime when I click on the link http://abcdef802w.domain.root.org/BU/Appname/Appname.svc?singleWsdl
it was not working but now it seems to work and my test client also works. Does it take a little while for a WCF service to actually "start"?
Now when I add a service reference should I use the http://abcdef802w.domain.root.org/BU/Appname/Appname.svc
or the actual server name on which I deployed as http://srvdev/BU/Appname/Appname.svc?
How do I interpret the server name switch here? I don't know much about IIS configuration and this switching of server names seems to be an effect of how IIS is configured for load balancing, perhaps?