Last post Mar 26, 2013 04:47 PM by b16b18
Mar 26, 2013 12:47 PM|b16b18|LINK
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.
<binding name="AgentBridgePortBinding" />
<endpoint address="http://localhost:8080/AgentBridge" binding="basicHttpBinding"
Mar 26, 2013 01:07 PM|kushalrdalal|LINK
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.
Mar 26, 2013 01:48 PM|b16b18|LINK
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.
Mar 26, 2013 02:40 PM|kushalrdalal|LINK
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.
Mar 26, 2013 04:47 PM|b16b18|LINK
Sorry for the confusion. Nm, i found out i need to do everything client side for this to work.