The contract name \'IMyService\' could not be found in the list of contracts implemented by the service \'MyService\'.. ---> System.InvalidOperationException: The
Your name attribute in the service element and the contract attribute in endpoint element are not correct. They need to be fully qualified names:
Once you change the values to be fully qualified names that should resolve your error.