The contract name \'IMyService\' could not be found in the list of contracts implemented by the service \'MyService\'.. ---> System.InvalidOperationException: The
This is a slightly more uncommon solution, that applied to my situation with the same error:
It's possible that the contract namespace can be overridden, with the following attribute:
[System.ServiceModel.ServiceContractAttribute([...], ConfigurationName = "IServiceSoap")]
public interface ISomeOtherServiceName
Which would require:
Rather than the usual (namespace).ISomeOtherServiceName.
This can be a result of code generation, in my case WSCFBlue