title: Why my WSDL still shows basic http binding with the location value of http?
body: <p>I enabled https binding, but my WSDL has soap address of http.  Any ideas why?  Thanks!</p>
  
  <pre><code>&lt;wsdl:service name="XXXX"&gt;&lt;wsdl:port name="BasicHttpBinding_XXXXService" binding="i0:BasicHttpBinding_XXXService"&gt;
      &lt;soap:address location="http://dev-soa-app/XXXX/XXXX/XXXService.svc"/&gt;&lt;/wsdl:port&gt;
  &lt;/wsdl:service&gt;
  </code></pre>
  
  <p>Here is my web.config file:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
  
    &lt;system.web&gt;
      &lt;customErrors mode="Off"/&gt;
      &lt;compilation debug="true" targetFramework="4.0" /&gt;
    &lt;/system.web&gt;
    &lt;configProtectedData&gt;
      &lt;providers&gt;
        &lt;add name="ConnStrings" type="System.Configuration.RsaProtectedConfigurationProvider, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" keyContainerName="ConnStrings" cspProviderName="" useMachineContainer="true" useOAEP="false"/&gt;
      &lt;/providers&gt;
    &lt;/configProtectedData&gt;
    &lt;connectionStrings configSource="ConnStrings\ConnStrings.config"/&gt;
    &lt;system.serviceModel&gt;
      &lt;services&gt;
        &lt;service name="XXXXService"&gt;
          &lt;!-- Use a bindingNamespace to eliminate tempuri.org --&gt;
          &lt;endpoint address=""  name="XXXXService"
                    binding ="wsHttpBinding" bindingConfiguration="TransportSecurity"
                    bindingNamespace="WF.CT2.WebServices.XXXXService"
                    contract="WF.CT2.WebServices.XXXXService.SAMLService" /&gt;
          &lt;endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange"/&gt;
        &lt;/service&gt;
      &lt;/services&gt;
      &lt;bindings&gt;
        &lt;wsHttpBinding&gt;
          &lt;binding name="TransportSecurity"&gt;
            &lt;security mode="Transport"&gt;
              &lt;transport clientCredentialType="None"/&gt;
            &lt;/security&gt;
          &lt;/binding&gt;
        &lt;/wsHttpBinding&gt;
      &lt;/bindings&gt;
      &lt;behaviors&gt;
        &lt;serviceBehaviors&gt;
          &lt;behavior&gt;
            &lt;!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --&gt;
            &lt;serviceMetadata httpsGetEnabled="true" httpGetEnabled ="false" /&gt;
            &lt;!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information --&gt;
            &lt;serviceDebug includeExceptionDetailInFaults="false"/&gt;
          &lt;/behavior&gt;
        &lt;/serviceBehaviors&gt;
      &lt;/behaviors&gt;
      &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true" /&gt;
    &lt;/system.serviceModel&gt;
    &lt;system.webServer&gt;
      &lt;modules runAllManagedModulesForAllRequests="true"/&gt;
    &lt;/system.webServer&gt;
  
  &lt;/configuration&gt;
  </code></pre>