[EndpointNotFoundException:有没有终点在听 [英] [EndpointNotFoundException: There was no endpoint listening at

查看:322
本文介绍了[EndpointNotFoundException:有没有终点在听的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误信息:
[EndpointNotFoundException:有没有终点的链接/ MobileMotivati​​on.asmx,可以接受邮件听。这通常是由一个不正确的地址或SOAP动作引起的。见的InnerException,如果present,了解更多详情。]

Error Message: [EndpointNotFoundException: There was no endpoint listening at "Link/MobileMotivation.asmx" that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.]

这是一个MVC4的applcation,它工作在本地机器上的罚款。然而,当我把它落实这是同一台服务器作为Web服务的服务器,它显示错误消息。

This is a MVC4 applcation, it works fine on the local machine. However when I implement it to the server which is the same server as the web service, it shows the error message.

<system.serviceModel>
<bindings>
  <basicHttpBinding>
    <binding name="MobileMotivationSoap" />
  </basicHttpBinding>
</bindings>
<client>
  <endpoint address="http://stuiis.cms.gre.ac.uk/bb116/FinalYear2/FinalYear2/MobileMotivation.asmx"
    binding="basicHttpBinding" bindingConfiguration="MobileMotivationSoap"
    contract="MobileMotivationService.MobileMotivationSoap" name="MobileMotivationSoap" />
</client>

推荐答案

您可能需要编辑匿名身份验证设置。

You might need to edit the anonymous authentication settings.

转到:


  1. 服务器管理器

  2. IIS

  3. 连接>站点> YourSite

  4. 单击验证>启用

在这一点上,你可以选择的应用程序池标识。

At this point you can select application pool identity.

更多细节在这里:<一href=\"http://stackoverflow.com/questions/7987179/a-web-site-$c$c-cant-connect-to-a-soap-service-on-the-same-server\">A网站code不能连接到SOAP服务在同一台服务器

这篇关于[EndpointNotFoundException:有没有终点在听的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆