Error message: [EndpointNotFoundException: There was no endpoint listening on "Link / MobileMotivation.asmx" that could receive the message. This is often caused by the wrong address or SOAP action. See InnerException, if available.]
This is an MVC4 application, it works fine on the local machine. However, when I implement it on a server that is the same server as the web service, it shows an 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>
source
share