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!):
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>
<b><i>HttpListenerContext does not match any of the registered channels</i></b>
Below is how my ServiceModel part of web.config looks:
<endpoint address="http://localhost/MonoTest/TestWCFService.svc" binding="basicHttpBinding"
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
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'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">WCF Hosting Problem</a><br/>
Sent from the <a href="http://mono.1490590.n4.nabble.com/Mono-General-f1490591.html">Mono - General mailing list archive</a> at Nabble.com.<br/>