Problème configuration binding
Bonjour,
Je créé un service WCF.
Voici mon fichier App.config qui pose problème :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| <?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<services>
<service name="ServiceLibrary.service1">
<endpoint
address="http://localhost:8000/MyRemoteWCF"
binding="basicHttpBinding"
contract="ServiceLibrary.IService1" />
</service>
<bindings>
<basicHttpBinding
receiveTimeout="00:10:01"
sendTimeout="00:10:01" />
</bindings>
</services>
</system.serviceModel>
</configuration> |
J'ai ajouté l'élément <bindings> afin de spécifier mes propres timeouts mais :
Citation:
Exception : Unrecognized element 'bindings' ..
Pourtant c'est l'exemple utilisé par microsoft ici http://msdn.microsoft.com/fr-fr/library/ms733099.aspx
Quel est le problème ?
Merci.