VSエディターはその拡張子を認識していないため、WCF構成ファイルを作成するときにVisualStudioでこのエラーが発生する可能性があります。transportClientEndpointBehaviorを配置する場所を知る必要があります、何か助けはありますか?ありがとう。
<behaviors>
<endpointBehaviors>
<behavior name="sharedSecretClientCredentials">
<transportClientEndpointBehavior credentialType="SharedSecret">
<clientCredentials>
<sharedSecret issuerName="***********" issuerSecret="**********" />
</clientCredentials>
</transportClientEndpointBehavior>
<ServiceRegistrySettings discoveryMode="Public"/>
</behavior>
</endpointBehaviors>
...
</behaviors>
また、バインディングに含まれていると思われるbasicHttpRelayBindingにも問題があります。