tags:

views:

383

answers:

1

I want to implement https with Windows Authentication. I tried it but I am getting following error : {System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). After this it tries to load the login form.

My Service config is "

<endpoint address="" binding="wsHttpBinding" contract="WCFServices.IService"     bindingConfiguration="TransportSecurity">
<bindings>
   <wsHttpBinding>
   <binding name="TransportSecurity"> 
   <security mode="Transport">
        <transport clientCredentialType="Windows" />
   </security>
</binding>
</wsHttpBinding>
</bindings>

Client Side Config is

If I change clientCredentialType to "None" everything works fine. Presently I am using IE 7 to just see if I am able to get WSDL but eventually these service contracts would be called from a Flex application. Any help is highly appreciated.

A: 

The problem might be related to this article.

Andy