Bonjour,
j'ai développé un service WCF que je tente de faire héberger par IIS.
J'ai actuellement l'erreur suivante lorsque j'appelle le service
(http://MyServ/CTZ.svc)
Mon fichier de configuration est ainsi :Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.
Merci pour votre aide éventuelle
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 <system.serviceModel> <serviceHostingEnvironment aspNetCompatibilityEnabled="true" /> <services> <service behaviorConfiguration="ServiceBehavior" name="CTZ.Services.AppCustomService"> <endpoint binding="wsHttpBinding" contract="CTZ.Interfaces.IAppCustomService" bindingConfiguration="secureBinding"/> </service> </services> <bindings> <wsHttpBinding> <binding name="secureBinding"> <security mode="Message"> <transport clientCredentialType="Windows" /> </security> </binding> </wsHttpBinding> </bindings> <behaviors> <serviceBehaviors> <behavior name="ServiceBehavior"> <serviceMetadata httpGetEnabled="false" /> <serviceDebug includeExceptionDetailInFaults="true" /> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel>
Partager