Editing Web.config Files on the IIS Server

All CCF 2009 web services include a web.config file that holds the configuration information for the web service. You must edit the web.config file as show below (for each of the web service), so the web service is accessible over a secure connection.

To configure web services over a secure connection:

  1. Open <wwwrootDir>/<Web Service>/web.config.

  2. Set the serviceMetadata entry in the serviceBehaviors section to true. The following sample show the text after edits for the ConfigManagementDataService web service:

  3. <serviceBehaviors>
            <behavior name="ConfigManagementService">
              <serviceMetadata httpGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="true"/>
            </behavior>
    </serviceBehaviors>
    
  4. Repeat the process for all the web services.

  5. Restart IIS