I am developing a WCF service in Visual Studio 2012. The following is the web.config file:
<system.serviceModel>
<client>
<endpoint address="net.tcp://localhost/BlueYonder/Booking" binding="netTcpBinding" contract="BlueYonder.BookingService.Contracts.IBookingService" name="BookingTcp">
<identity>
<certificateReference storeLocation="LocalMachine" storeName="TrustedPeople" x509FindType="FindBySubjectName" findValue="Server"/>
</identity>
</endpoint>
</client>
<bindings>
<netTcpBinding>
<binding>
<security mode="Message">
<message clientCredentialType="Certificate"/>
</security>
</binding>
</netTcpBinding>
</bindings>
<behaviors>
<endpointBehaviors>
<behavior>
<clientCredentials>
<serviceCertificate>
<authentication revocationMode="NoCheck" />
</serviceCertificate>
<clientCertificate storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName" findValue="Client"/>
</clientCredentials>
</behavior>
</endpointBehaviors>
</behaviors>
</system.serviceModel>
I have also enabled net.tcp binding in IIS. In addition, I have check the required service (listeners) are running.
However, I am getting the following error message:
EndPointNotFoundException
There was no endpoint listening at net.tcp://localhost/BlueYonder/Booking that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
InnerException
present, does it have more details? – Remus Rusanu