Your service config appears to have an issue - you specify netHttpBinding
for the service endpoint with no bindingConfiguration, and you have a configuration defined for netTcpBinding
(but apparently not used). Relevant service portion of your config here:
<endpoint address="Default.svc"
binding="netHttpBinding"
name="TransportLayerServiceEndpoint"
contract="DemoNamespace.IPipeService" />
Note that there is no bindingConfiguration
value set. I would suggest adding the binding configuration defined in the client to your service config, and then updating the service endpoint to use that binding:
<endpoint address="Default.svc"
binding="netHttpBinding"
bindingConfiguration="TransportLayerServiceEndpoint"
name="TransportLayerServiceEndpoint"
contract="DemoNamespace.IPipeService" />
Currently your service is using the default values for netHttpBinding
, which is probably the reason you're still getting the error.