title: Client endpoint configuration '*' was not found in 1 Endpoints, WCF, Mono
body: <p>Hej guys,</p>
  
  <p>i'm trying to access a webservice hosted on a virtual machine (Windows 7) from my Ubuntu Host using Mono.</p>
  
  <p>I can import the wdsl file and generate the service reference. I copied the App.config from an other working client accessing the webservice correctly.</p>
  
  <p>When i try to connect to the webservice using
      using System;</p>
  
  <pre><code>namespace MonoTest
  {
  class MainClass
  {
      public static void Main (string[] args)
      {
          Console.WriteLine ("Hello World!");
          TestServer.Service1Client client = new TestServer.Service1Client("Test");
          Console.WriteLine(client.GetData(12));
          Console.ReadLine();
      }
  }
  }
  </code></pre>
  
  <p>I get an error: </p>
  
  <pre><code>System.InvalidOperationException: Client endpoint configuration 'Test' was not found in 1 endpoints.
    at System.ServiceModel.ChannelFactory.ApplyConfiguration (System.String endpointConfig) [0x00000] in &lt;filename unknown&gt;:0 
    at System.ServiceModel.ChannelFactory.InitializeEndpoint (System.String endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) [0x00000] in &lt;filename unknown&gt;:0 
    at System.ServiceModel.ChannelFactory`1[MonoTest.TestServer.IService1]..ctor (System.String endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) [0x00000] in &lt;filename unknown&gt;:0 
    at System.ServiceModel.ClientBase`1[MonoTest.TestServer.IService1].Initialize (System.ServiceModel.InstanceContext instance, System.String endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) [0x00000] in &lt;filename unknown&gt;:0 
    at System.ServiceModel.ClientBase`1[MonoTest.TestServer.IService1]..ctor (System.ServiceModel.InstanceContext instance, System.String endpointConfigurationName) [0x00000] in &lt;filename unknown&gt;:0 
    at System.ServiceModel.ClientBase`1[MonoTest.TestServer.IService1]..ctor (System.String endpointConfigurationName) [0x00000] in &lt;filename unknown&gt;:0 
    at MonoTest.TestServer.Service1Client..ctor (System.String endpointConfigurationName) [0x00000] in &lt;filename unknown&gt;:0 
    at MonoTest.MainClass.Main (System.String[] args) [0x0000a] in /home/***/WebserviceTest/MonoTest/MonoTest/Main.cs:11 
  </code></pre>
  
  <p>My App.config file looks like the following:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;configuration&gt;
      &lt;system.serviceModel&gt;
          &lt;bindings&gt;
              &lt;wsHttpBinding&gt;
                  &lt;binding name="WSHttpBinding_IService1" /&gt;
              &lt;/wsHttpBinding&gt;
          &lt;/bindings&gt;
          &lt;client&gt;
              &lt;endpoint name="Test"
                  address="http://192.168.178.34:8732/Design_Time_Addresses/TestServer/Service1/"
                  binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IService1"
                  contract="ServiceReference1.IService1" &gt;
                  &lt;identity&gt;
                      &lt;dns value="localhost" /&gt;
                  &lt;/identity&gt;
              &lt;/endpoint&gt;
          &lt;/client&gt;
      &lt;/system.serviceModel&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Has anyone made this working using Linux?</p>