Estoy intentando acceder a mi servicio WCF en un servidor desde la aplicación de mi consola cliente para realizar pruebas. Estoy consiguiendo el error siguiente:Error de WCF: la persona que llama no fue autenticada por el servicio
The caller was not authenticated by the service
estoy usando wsHttpBinding
. No estoy seguro de qué tipo de autenticación espera el servicio?
<behaviors>
<serviceBehaviors>
<behavior name="MyTrakerService.MyTrakerServiceBehavior">
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="true"/>
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
actualización Funciona si cambio de unirse a <endpoint "basicHttpBinding" ... />
(desde wsHttpBinding) en IIS 7.0 alojado, servidor de Windows 2008
Edite su publicación y agregue las secciones relevantes de su archivo .config. – Will
¿Cómo se aloja el servicio WCF que está intentando consumir? –
Si está alojado en IIS, ¿en qué está configurada la seguridad del directorio? ¿Anónimo o Windows integrado? – kd7