none
Enable No Secuirty In WCF Services RRS feed

  • Question

  • HI All,

    Can you please help edit the Server App.Config to disable the Security. Below is the MY App.Config File.

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
      <system.serviceModel>
        <services>
          <!-- This section is optional with the new configuration model
               introduced in .NET Framework 4. -->
          <service name="Microsoft.ServiceModel.ServiceAgent.AOAgentService"
                   behaviorConfiguration="AOAgentServiceBehavior">
            <host>
              <baseAddresses>
                <add baseAddress="http://localhost:8000/ServiceModelServiceAgent/service"/>
              </baseAddresses>
            </host>
            <!-- this endpoint is exposed at the base address provided by host: http://localhost:8000/ServiceModelServiceAgent/service  -->
            <endpoint address=""
                      binding="wsHttpBinding"
                      contract="Microsoft.ServiceModel.ServiceAgent.IAOAgent" />
            <!-- the mex endpoint is exposed at http://localhost:8000/ServiceModelServiceAgent/service/mex -->
            <endpoint address="mex"
                      binding="mexHttpBinding"
                      contract="IMetadataExchange"  />
          </service>
        </services>
        <behaviors>
          <serviceBehaviors>
            <behavior name="AOAgentServiceBehavior">
              <serviceMetadata httpGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="False"/>
            </behavior>
          </serviceBehaviors>
        </behaviors>
    
       
      </system.serviceModel>
    </configuration>

    Thanks,

    Naveen T


    Naveen Kumar

    Wednesday, January 16, 2013 4:59 AM

Answers

All replies