Bonjour,

j'ai installé un service web ( un fichier .svc) dans IIS 6.0 dans un répertoire virtuel au sein d'un site web sécurisé https. J'ai accès aux sites hébergés dans les autres répertoires virtuels de ce site. Lorsque j'essaye d'accèder au wsdl du service j'obtiens une erreur http 400.

Voici un morceau de mon web.config:

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
29
 
<system.serviceModel>
    <bindings>	
        <basicHttpBinding>
              <binding name="TransportSecurity">
                  <security mode="TransportWithMessageCredential">
                      <message clientCredentialType="Certificate"/>
                  </security>
              </binding>	 
      </basicHttpBinding>	  
	</bindings>
    <services>
      <service name="AuthWorkStation_Extranet.App_Code.AwsService" behaviorConfiguration="ServiceBehavior">       
        <endpoint name="" address="https://extlpo01.srr.fr/Sphinx/Service.svc" binding="basicHttpBinding" bindingConfiguration="TransportSecurity" contract="AuthWorkStation_Extranet.App_Code.IAwsService" />
		<endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange"/>
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior name="ServiceBehavior">
		  <serviceCredentials>
             <serviceCertificate storeName="Root" findValue="CA_SRR_DISTRIB" x509FindType="FindBySubjectName" />
          </serviceCredentials> 
          <serviceMetadata httpsGetEnabled="True" />
          <serviceDebug includeExceptionDetailInFaults="True"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>
Avez vous une idée de ce qui ne va pas ?

Merci