通过设置allowInsecureTransport = true,我有一个工作版本。我也删除了安全对话,因为我不想要会话。
<customBinding> <binding name="netTcpFederated"> <security authenticationMode="IssuedTokenOverTransport" allowInsecureTransport="true" > <issuedTokenParameters keyType="BearerKey" /> </security> <binaryMessageEncoding> <readerQuotas maxStringContentLength="1048576" maxArrayLength="2097152" /> </binaryMessageEncoding> <tcpTransport maxReceivedMessageSize="2162688" /> </binding> </customBinding>`