Dear all,
We host a WCF Service in IIS on an external webserver reachable on the internet.
First I created a c-sharp ‘windows application’ to consume the WCF Service. Running the application and reaching/calling the WCF Service from within our office and outside works great.
Now we decided a c-sharp ‘windows service’ would be better to consume the WCF Service.
Adding the Service Reference, creating the proxy class etc all works fine. But when I install the windows service (using a installer) we have problems reaching the WCF Service.
From within our company’s network I get the following error message:
“There was no endpoint listening at https://www.mywebsite/MyService.svc/MyService.svc that could accept the message. This is often caused by an incorrect address or SOAP action.”
Inner exception:
“Unable to connect to the remote server”
Inner Exception:
“A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xx.xxx.xxx.xx:443”
When I use the same installer and install the service on my home computer, reaching/calling the WCF Service works great.
Does anybody know what could cause this problem?
Thanks in advance!