title: Workflow Services: The contract name could not be found in the list of contracts implemented by the service
body: <p>I can't for the life of me work this one out.  I have workflow service, declared thus:</p>
  
  <pre><code>&lt;WorkflowService mc:Ignorable="sap sap2010 sads" p1:TextExpression.Namespaces="{x:Reference __ReferenceID79}" p1:TextExpression.References="{x:Reference __ReferenceID80}" ConfigurationName="MyWorkflowService" sap2010:ExpressionActivityEditor.ExpressionActivityEditor="C#" sap2010:WorkflowViewState.IdRef="WorkflowService_1" Name="MyWorkflowService"
  </code></pre>
  
  <p>It implements a service contract:</p>
  
  <pre><code>&lt;WorkflowService.ImplementedContracts&gt;
      &lt;x:Type Type="ns:IWorkflowService" /&gt;
    &lt;/WorkflowService.ImplementedContracts&gt;
  </code></pre>
  
  <p>I'm trying to enable a workflow control endpoint, so that I can resume suspended workflows from a remote client.  So I've added the following section into the web.config:</p>
  
  <pre><code>&lt;services&gt;
        &lt;service name="MyWorkflowService"&gt;
          &lt;endpoint binding="basicHttpBinding" name="BasicHttpBinding_IWorkflowService" contract="Name.Space.IWorkflowService" /&gt;
          &lt;endpoint binding="basicHttpBinding" name="wceEndpoint" address="wce" kind="workflowControlEndpoint" contract="System.ServiceModel.Activities.IWorkflowInstanceManagement" /&gt;
        &lt;/service&gt;
      &lt;/services&gt;
  </code></pre>
  
  <p>But everytime I visit <a href="http://myhost.lan/service/MyWorkflowService.xamlx" rel="nofollow">http://myhost.lan/service/MyWorkflowService.xamlx</a>, I'm receiving this message:</p>
  
  <blockquote>
    <p>The contract name 'Name.Space.IWorkflowService'
    could not be found in the list of contracts implemented by the service
    'MyWorkflowService'.</p>
  </blockquote>
  
  <p>My contract looks like this:</p>
  
  <pre><code>[ServiceContract(Name = "IService", Namespace = "http://mycompany/myservice/")]
      public interface IWorkflowService
      {
          [OperationContract]
          int DoStuff(string filePath);
  
          [OperationContract]
          [FaultContract(typeof(ThingNotFoundException))]
          void Take(string baseDirectory, int id);
      }
  </code></pre>
  
  <p>Any help would be much appreciated!</p>