服务“HFAirPort.AWOSMinitor.SocketService.MonitorService”有零个应用程序(非基础结构)终结点。这可能是因为未找到应用程序的配置文件,或者在配置文件中未找到与服务名称匹配的服务元素,或者服务元素中未定义终结点。我的配置文件如下
<?xml version="1.0" encoding="utf-8" ?>
<configuration>  <system.serviceModel>
 
    <bindings />
    <client />
    <behaviors>
      <serviceBehaviors>
        <behavior name="HFAirport.AWOSMonitor.MonitorServiceBehavior">
          <serviceMetadata httpGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="false" />

        </behavior>
  
      </serviceBehaviors>
    </behaviors>
    <services>
      <service behaviorConfiguration="HFAirport.AWOSMonitor.MonitorServiceBehavior" name="HFAirPort.AWOSMinitor.SocketService.MonitorService">

  <endpoint
   address="http://localhost:8712/HFAirport/MonitorService/"
   binding="wsHttpBinding"
   contract="HFAirPort.AWOSMinitor.SocketService.IMonitorService">
  </endpoint>
  <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
        <host>
          <baseAddresses>
       
  <add baseAddress="http://localhost:8712/HFAirport/MonitorService/" />

          </baseAddresses>
        </host>

      </service>


    </services>
  </system.serviceModel>
</configuration>
错误到底在哪,请高手指教,非常非常急!!!