Bonjour,
je veux me connecter à un service wcf (3.0) via un client silverlight
Le service wcf est hébergé dans IIS.

voici mon service



le fichier de config
est
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
 
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <appSettings/>
  <connectionStrings/>
  <system.web>
    <compilation debug="true">
    </compilation>
    <authentication mode="Windows" />
  </system.web>
  <system.serviceModel>
    <services>
      <service behaviorConfiguration="WcfService3Behavior" name="WcfService3.DataReader">
        <endpoint address="http://serveur:32008/DataReader.svc" binding="wsHttpBinding" contract="WcfService3.IDataReader" bindingNamespace="urn:WcfService3:DataReader"/>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior name="WcfService3Behavior">
          <serviceMetadata httpGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="true"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>
</configuration>
c'est bien, j'ai réussi de le publier



voici mon Appli silverLight f 3 ...NB (j'ai meme tester avec 3.5 et 4)

voici l’avertissement