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 :
<endpoint address="net.tcp://localhost:8732/PlcInputService/" binding="netTcpBinding" bindingConfiguration="VbgServiceBinding" contract="Eplusv.Vbg.InfoViewer.VbgService.IPlcInputService" name="PlcInputServiceEndpoint" kind="" endpointConfiguration="" />
<endpoint address="net.tcp://localhost:8732/CameraService/" binding="netTcpBinding" bindingConfiguration="VbgServiceBinding" contract="Eplusv.Vbg.InfoViewer.VbgService.ICameraService" name="CameraServiceEndpoint" kind="" endpointConfiguration="" />
<endpoint address="net.tcp://localhost:8732/PanelService/" binding="netTcpBinding" bindingConfiguration="VbgServiceBinding" contract="Eplusv.Vbg.InfoViewer.VbgService.IPanelService" name="PanelServiceEndpoint" kind="" endpointConfiguration="" />
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 :
<system.serviceModel>
<diagnostics>
<messageLogging logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" />
<endToEndTracing propagateActivity="true" activityTracing="true" messageFlowTracing="true" />
</diagnostics>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings configSource="bindings.config" />
<services configSource="services.config" />
bindings.config 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