I am trying to combine enablewebscript and clientcredentials in a single wcf endpoint behavior so that I can fetch a x509 certificate via thumbprint. But when I define both the above mentioned tags in a single endpoint behavior, the service is not working as expected.
Is there any way to combine enablewebscript and clientcredentials in a single wcf endpoint behavior?
<behaviors>
<endpointBehaviors>
<behavior name="CombinedBehavior">
<enableWebScript />
<clientCredentials>
<!-- Configure your client credentials settings -->
</clientCredentials>
</behavior>
</endpointBehaviors>
</behaviors>
This is not working for me.