Missing or Malformed Service Bindings Can Hose ALL Your Service Calls
In addition to the endpoints for the two aforementioned services, our Web.config file also contained an endpoint for a third service, that is not yet in use, but is defined and in development. But somehow, the binding for this service didn't make it into the production version of the Web.config file, and therefore when the app tried to make use of any service, an exception was occurring and, the service call, whatever it was and to whichever service, wasn't being executed.
Even though I've been using WCF services for years, I was not aware until yesterday that a missing or malformed binding could stop all service calls from being executed (I mention malformed bindings because our first attempt to add the missing binding was entered incorrectly and was not valid, leading to the same result as if it wasn't there at all). This was not an intuitive fix to the two problems that we thought were unrelated, and we were lucky to have found the solution in a relatively short amount of time.
Comments
Post a Comment