首页 新闻 会员 周边

wcf iis 部署 svc文件 出现 没有终结点在侦听可以接受消息的终结点

0
悬赏园豆:10 [已关闭问题] 关闭于 2011-03-14 10:11

没有终结点在侦听可以接受消息的 http://20100727-0857/Buss/Eftest.svc。这通常是由于不正确的地址或者 SOAP 操作导致的。如果存在此情况,


 <system.web>
  <compilation debug="true" targetFramework="4.0" />
  </system.web>
  <system.serviceModel>
  <services>
  <service 
  name="WcfTestService.Buss.Eftest">
  <endpoint
  address=""
  binding="basicHttpBinding" bindingConfiguration="basicHttpBindingConfiguration"
  contract="WcfTestService.Buss.IEftest">
  </endpoint>
  <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
  </service>
  </services>
  <behaviors>
  <serviceBehaviors>
   
  <behavior>
  <!-- 为避免泄漏元数据信息,请在部署前将以下值设置为 false 并删除上面的元数据终结点 -->
  <serviceMetadata httpGetEnabled="true"/>
  <!-- 要接收故障异常详细信息以进行调试,请将以下值设置为 true。在部署前设置为 false 以避免泄漏异常信息 -->
  <serviceDebug includeExceptionDetailInFaults="false"/>
  <dataContractSerializer maxItemsInObjectGraph="2147483647" />
  </behavior>
   
  </serviceBehaviors>
  </behaviors>
  <serviceHostingEnvironment multipleSiteBindingsEnabled="false" />
  <bindings>
  <basicHttpBinding>
  <binding name="basicHttpBindingConfiguration" receiveTimeout="10:10:10" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" >
  <readerQuotas 
  maxArrayLength="2147483647" 
  maxStringContentLength="2147483647"/>
  </binding>
  </basicHttpBinding>
  </bindings>
  </system.serviceModel>
这个是我服务端德配置。 客户端浏览器打开正常。

问题补充: 高手帮帮忙呀!
zxsuccessing的主页 zxsuccessing | 初学一级 | 园豆:200
提问于:2011-03-10 19:57
< >
分享
所有回答(1)
0

<endpoint
  address=""
  binding="basicHttpBinding" bindingConfiguration="basicHttpBindingConfiguration"
  contract="WcfTestService.Buss.IEftest">

这里的address怎么没写?

IT追风者 | 园豆:204 (菜鸟二级) | 2013-06-14 17:03
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册