I am hosting a WCF service on Windows Service (let's call it WCF B) and then trying to consume it from another WCF service (which is self hosted) (let's call it WCF A).
I am able to add service reference perfectly, end points are getting auto generated properly. But when I am trying to instantiate the client object.
I am communicating over TCP. I am getting following error.
Configuration Code of WCF B is as below
Auto generated Endpoint details(After adding Service Reference) in WCF A web.config are as below.