views:

289

answers:

1

I am trying to call my WCF service through a Flex application. I'm getting the System.ServiceModel.ServiceActivationException. I have Integrated Windows Auth switched to on, anonymous access off, and I've set impersonate to false in my web.config. The project and virtual dir are named the same too.

What could be the issue?

A: 
<bindings>
  <webHttpBinding>
    <binding name="WebHttpEndpointBinding">
      <security mode="TransportCredentialOnly">
        <transport clientCredentialType="Windows"/>
      </security>
    </binding>
  </webHttpBinding>
</bindings>

This needed to be added to the config file.

Prakash