Window Service installed but EndPointNotFoundException was caught
-
Dear All, I am struggling to get out from this exception. I don't know why it is thrown always. My service( server) installed correctly from insaller and it is running in the background. But server has exposed the end points in a way:
But as soon as I send test data after opening the service, to the very first end point exposed by server. it throws the following exception There was no at net.tcp://localhost:8732/PlcInputService a listening endpoint available that could accept the message. This is often caused by an incorrect address or SOAP action. For more details, see "InnerException", if any. while my app.config for this service is :
bindings.config containing the binding for server and services.config containing the same endpoints which i mentioned above. I have no idea why it is occuring and how to get around from it. Regards Usman
-
Dear All, I am struggling to get out from this exception. I don't know why it is thrown always. My service( server) installed correctly from insaller and it is running in the background. But server has exposed the end points in a way:
But as soon as I send test data after opening the service, to the very first end point exposed by server. it throws the following exception There was no at net.tcp://localhost:8732/PlcInputService a listening endpoint available that could accept the message. This is often caused by an incorrect address or SOAP action. For more details, see "InnerException", if any. while my app.config for this service is :
bindings.config containing the binding for server and services.config containing the same endpoints which i mentioned above. I have no idea why it is occuring and how to get around from it. Regards Usman
-
Dear All, I am struggling to get out from this exception. I don't know why it is thrown always. My service( server) installed correctly from insaller and it is running in the background. But server has exposed the end points in a way:
But as soon as I send test data after opening the service, to the very first end point exposed by server. it throws the following exception There was no at net.tcp://localhost:8732/PlcInputService a listening endpoint available that could accept the message. This is often caused by an incorrect address or SOAP action. For more details, see "InnerException", if any. while my app.config for this service is :
bindings.config containing the binding for server and services.config containing the same endpoints which i mentioned above. I have no idea why it is occuring and how to get around from it. Regards Usman
Foe Self-hosting application please check the following link: Hosting WCF services in a Windows Forms Application[^] here si described very well how to self host an WCF Service :)) BR