Could not find endpoint element with Name and Contract from config file
<p>I have 3 project in my solution. First project is <code>asp.net mvc</code>(as client app) and other one is <code>WCF service application</code> and last one is <code>workflow activity library</code>. I added WCF service reference to workflow project and workflow project reference added to asp.net mvc. When I used wcf service in activity and start workflow from asp.net mvc I get this error:</p>

<blockquote>
  <p>Could not find endpoint element with name BasicHttpBinding_IService
  and contract IService in the ServiceModel client configuration
  section. This might be because no configuration file was found for
  your application, or because no endpoint element matching this name
  could be found in the client element.</p>
</blockquote>

<p>This my workflow activity library <code>app.config</code> file content:</p>

<pre><code>&lt;configuration&gt;
    &lt;system.serviceModel&gt;
        &lt;bindings&gt;
            &lt;basicHttpBinding&gt;
                &lt;binding name="BasicHttpBinding_IService1" /&gt;
            &lt;/basicHttpBinding&gt;
        &lt;/bindings&gt;
        &lt;client&gt;
            &lt;endpoint address="http://localhost:30717/Service1.svc" binding="basicHttpBinding"
                bindingConfiguration="BasicHttpBinding_IService1" contract="Service1.IService1"
                name="BasicHttpBinding_IService1" /&gt;
        &lt;/client&gt;
    &lt;/system.serviceModel&gt;
&lt;/configuration&gt;
</code></pre>

<p>And this is my wcf project web.config file content:</p>

<pre><code>&lt;configuration&gt;

  &lt;appSettings&gt;
    &lt;add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" /&gt;
  &lt;/appSettings&gt;
  &lt;system.web&gt;
    &lt;compilation debug="true" targetFramework="4.5" /&gt;
    &lt;httpRuntime targetFramework="4.5"/&gt;
  &lt;/system.web&gt;
  &lt;system.serviceModel&gt;
    &lt;behaviors&gt;
      &lt;serviceBehaviors&gt;
        &lt;behavior&gt;
          &lt;serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/&gt;
          &lt;serviceDebug includeExceptionDetailInFaults="false"/&gt;
        &lt;/behavior&gt;
      &lt;/serviceBehaviors&gt;
    &lt;/behaviors&gt;
    &lt;protocolMapping&gt;
      &lt;add binding="basicHttpBinding" scheme="http" /&gt;
    &lt;/protocolMapping&gt;
    &lt;serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" /&gt;
  &lt;/system.serviceModel&gt;
  &lt;system.webServer&gt;
    &lt;modules runAllManagedModulesForAllRequests="true"/&gt;
    &lt;directoryBrowse enabled="true"/&gt;
  &lt;/system.webServer&gt;

&lt;/configuration&gt;
</code></pre>

<p>And this is my asp.net mvc web.config file content:</p>

<pre><code>&lt;configuration&gt;
  &lt;appSettings&gt;
    &lt;add key="webpages:Version" value="3.0.0.0"/&gt;
    &lt;add key="webpages:Enabled" value="false"/&gt;
    &lt;add key="ClientValidationEnabled" value="true"/&gt;
    &lt;add key="UnobtrusiveJavaScriptEnabled" value="true"/&gt;
  &lt;/appSettings&gt;
  &lt;system.web&gt;
    &lt;compilation debug="true" targetFramework="4.5"/&gt;
    &lt;httpRuntime targetFramework="4.5"/&gt;
  &lt;/system.web&gt;
  &lt;runtime&gt;
    &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
      &lt;dependentAssembly&gt;
        &lt;assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/&gt;
        &lt;bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/&gt;
      &lt;/dependentAssembly&gt;
      &lt;dependentAssembly&gt;
        &lt;assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/&gt;
        &lt;bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/&gt;
      &lt;/dependentAssembly&gt;
      &lt;dependentAssembly&gt;
        &lt;assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/&gt;
        &lt;bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0"/&gt;
      &lt;/dependentAssembly&gt;
    &lt;/assemblyBinding&gt;
  &lt;/runtime&gt;
  &lt;system.serviceModel&gt;
    &lt;bindings&gt;
      &lt;basicHttpBinding&gt;
        &lt;binding name="BasicHttpBinding_IService1" /&gt;
      &lt;/basicHttpBinding&gt;
    &lt;/bindings&gt;
    &lt;client&gt;
      &lt;endpoint address="http://localhost:30717/Service1.svc" binding="basicHttpBinding"
          bindingConfiguration="BasicHttpBinding_IService1" contract="ServiceTest.IService1"
          name="BasicHttpBinding_IService1" /&gt;
    &lt;/client&gt;
  &lt;/system.serviceModel&gt;
&lt;/configuration&gt;
</code></pre>

<p>And this is my code for run workflow in asp.net mvc controller:</p>

<pre><code>wf.Activity1 mm = new wf.Activity1();//wf is reference added from workflow project
mm.arg1 = "12".ToString() ;
IDictionary&lt;string, object&gt; res = WorkflowInvoker.Invoke(mm);
ViewBag.res = res["arg2"].ToString();
</code></pre>

<p>I googled for a day and unfortunately I didn't get result. Thanks for your guides.</p>

<p><strong>Edit:</strong>
<a href="https://drive.google.com/open?id=0B_yg2wbwTar-YlpBTTFPNFhBUWs">This</a> is my project for more help.</p>