locked
There was no endpoint listening that could accept the message. RRS feed

  • Question

  • User-115855 posted

    Here is my scenario: I have a softphone installed an running on my local pc which exposes http://localhost:8080/AgentBridge. I've added this service reference to my project and when I run the site locally through VS I'm able to interact with the web service and everything works fine. But when I deploy the site to my web server and access the site from its domain rather than through localhost I get the error below because it cannot find the web service that is running on the local pc. Not sure what to do or how to configure this to find the web service? If anyone is familiar, I'm trying to integrate Five9's CTI Web Services.

    There was no endpoint listening at http://localhost:8080/AgentBridge that could accept the message. This is often caused by an incorrect address or SOAP action.

    web.config

      <system.serviceModel>
        <bindings>
          <basicHttpBinding>
            <binding name="AgentBridgePortBinding" />
          </basicHttpBinding>
        </bindings>
        <client>
          <endpoint address="http://localhost:8080/AgentBridge" binding="basicHttpBinding"
            bindingConfiguration="AgentBridgePortBinding" contract="five9cti.AgentBridge"
            name="AgentBridgePort" />
        </client>
      </system.serviceModel>


    Tuesday, March 26, 2013 12:47 PM

Answers

  • User-115855 posted

    Sorry for the confusion. Nm, i found out i need to do everything client side for this to work.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 26, 2013 4:47 PM

All replies

  • User-1662538993 posted

    When you have installed your website in iis which port you have used.

    After installing can you see your svc file by view in browser or not.

    If you can see then just use that url to add it to your mobile project or you can use fiddler or soapui to check it that it is working with domain name.

    Tuesday, March 26, 2013 1:07 PM
  • User-115855 posted

    The svc file does not exist on my server. http://localhost:8080/AgentBridge.svc is a web service that the softphone running on the end user's pc exposes. So I can view the svc on the end user pc but not from the server. Does that make sense? I don't know how to get a website hosted on my server to communicate with a web service running on the end user's pc.

    Tuesday, March 26, 2013 1:48 PM
  • User-1662538993 posted

    What you are trying to say does not make any sense.

    Who has created web service? You or somebody else.

    Who is using the web service you or somebody else.

    Normally one create web service and then host it in web server(iis) then anybody who is authorized to use that web service, phone or web application etc, will consume the service.

    Tuesday, March 26, 2013 2:40 PM
  • User-115855 posted

    Sorry for the confusion. Nm, i found out i need to do everything client side for this to work.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 26, 2013 4:47 PM