Yes. I have setup the endpoint. I could not paste it in the editor. Here it is:<br><br><pre class="default prettyprint"><code><span class="tag">&lt;services&gt;</span><span class="pln"><br>  </span><span class="tag">&lt;service</span><span class="pln"> </span><span class="atn">name</span><span class="pun">=</span><span class="atv">&quot;TestWCFService&quot;</span><span class="tag">&gt;</span><span class="pln"><br>
    </span><span class="tag">&lt;endpoint</span><span class="pln"> </span><span class="atn">address</span><span class="pun">=</span><span class="atv">&quot;<a href="http://localhost/MonoTest/TestWCFService.svc">http://localhost/MonoTest/TestWCFService.svc</a>&quot;</span><span class="pln"> </span><span class="atn">binding</span><span class="pun">=</span><span class="atv">&quot;basicHttpBinding&quot;</span><span class="pln"><br>
              </span><span class="atn">contract</span><span class="pun">=</span><span class="atv">&quot;MonoTest.ITestWCFService&quot;</span><span class="tag">&gt;&lt;/endpoint&gt;</span><span class="pln"><br>  </span><span class="tag">&lt;/service&gt;</span><span class="pln"><br>
</span><span class="tag">&lt;/services&gt;</span><span class="pln"><br></span><span class="tag">&lt;behaviors&gt;</span><span class="pln"><br>  </span><span class="tag">&lt;serviceBehaviors&gt;</span><span class="pln"><br>
    </span><span class="tag">&lt;behavior</span><span class="pln"> </span><span class="atn">name</span><span class="pun">=</span><span class="atv">&quot;&quot;</span><span class="tag">&gt;</span><span class="pln"><br>      </span><span class="tag">&lt;serviceMetadata</span><span class="pln"> </span><span class="atn">httpGetEnabled</span><span class="pun">=</span><span class="atv">&quot;true&quot;</span><span class="pln"> </span><span class="tag">/&gt;</span><span class="pln"><br>
      </span><span class="tag">&lt;serviceDebug</span><span class="pln"> </span><span class="atn">includeExceptionDetailInFaults</span><span class="pun">=</span><span class="atv">&quot;true&quot;</span><span class="pln"> </span><span class="tag">/&gt;</span><span class="pln"><br>
    </span><span class="tag">&lt;/behavior&gt;</span><span class="pln"><br>  </span><span class="tag">&lt;/serviceBehaviors&gt;</span><span class="pln"><br></span><span class="tag">&lt;/behaviors&gt;</span><span class="pln"><br>
</span></code></pre>Thanks<br><br>-Vinod<br><br><div class="gmail_quote">On Thu, Jul 21, 2011 at 12:09 PM, James Darbyshire <span dir="ltr">&lt;<a href="mailto:jamesdarbyshire@gmail.com">jamesdarbyshire@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Have you set up an end point in your .config file?<div><br></div><div>The config was not in your last email.</div><div>
<br></div><div>James<br><br><div class="gmail_quote">On 21 July 2011 16:07, Vinod <span dir="ltr">&lt;<a href="mailto:baligavinod@gmail.com" target="_blank">baligavinod@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, I am trying to host a simple application with one aspx, asmx and svc file each. I followed the below guide to achieve the hosting (since I am very new to the linux world, it took a while to understand it!):

<a href="http://www.mono-project.com/Mod_mono#Manual_Mod_Mono_Configuration" target="_blank">http://www.mono-project.com/Mod_mono#Manual_Mod_Mono_Configuration</a>

After all the hosting, I am able to access the aspx and asmx file. But when I try to access the svc file, I get the below error:

<b><i>The ServiceHost must have at least one application endpoint (that does not include metadata exchange endpoint) defined by either configuration, behaviors or call to AddServiceEndpoint methods.</i></b>

or

<b><i>HttpListenerContext does not match any of the registered channels</i></b>

Below is how my ServiceModel part of web.config looks:

  <u></u>
    <u></u>
      <u></u>
        <u></u><u></u>
      <u></u>
    <u></u>
    <u></u>
      <u></u>
        <u></u>
          <u></u>
          <u></u>
        <u></u>
      <u></u>
    <u></u>
    <u></u>
  <u></u>

Can you please tell me what I am doing wrong?

Note: I used MS VS 2010 to create this project and then published it. The published directory is copied to the Apache/Linux Environment. The WCF doesn&#39;t make use of any complex type. I am using Mono Version 2.8.2
        
<br><hr align="left" width="300">
View this message in context: <a href="http://mono.1490590.n4.nabble.com/WCF-Hosting-Problem-tp3682894p3682894.html" target="_blank">WCF Hosting Problem</a><br>
Sent from the <a href="http://mono.1490590.n4.nabble.com/Mono-General-f1490591.html" target="_blank">Mono - General mailing list archive</a> at Nabble.com.<br><br>_______________________________________________<br>
Mono-list maillist  -  <a href="mailto:Mono-list@lists.ximian.com" target="_blank">Mono-list@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>James Darbyshire<br><a href="mailto:jamesdarbyshire@gmail.com" target="_blank">jamesdarbyshire@gmail.com</a><br>
</div>
</blockquote></div><br>