title: What's wrong with my wcf endpoints?
body: <p>I am trying to create a wcf service with two endpoints, one SOAP 1.1 and the other SOAP 1.2. Here is my config:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
  
  &lt;configSections&gt;
  &lt;/configSections&gt;
  &lt;connectionStrings&gt;
  &lt;add name="ProgramInformationWS.Properties.Settings.IMTConnectionString" connectionString="Data Source=DLADD00001;Initial Catalog=IMT;Integrated Security=True" providerName="System.Data.SqlClient"/&gt;
  &lt;/connectionStrings&gt;
  &lt;system.web&gt;
  &lt;compilation debug="true"/&gt;
  &lt;/system.web&gt;
  &lt;!-- When deploying the service library project, the content of the config file must be added to the host's 
  app.config file. System.Configuration does not support config files for libraries. --&gt;
  &lt;system.serviceModel&gt;
  &lt;services&gt;
    &lt;service name="EnterpriseReportingWS.ERPService" behaviorConfiguration="ERPService.Behavior"&gt;
        &lt;endpoint address="soap" binding="basicHttpBinding" bindingConfiguration="" contract="EnterpriseReportingWS.IERPService"&gt;
        &lt;identity&gt;
          &lt;dns value="localhost"/&gt;
        &lt;/identity&gt;
      &lt;/endpoint&gt;
        &lt;endpoint address="soap12" binding="wsHttpBinding" bindingConfiguration="" contract="EnterpriseReportingWS.IERPService"&gt;
            &lt;identity&gt;
                &lt;dns value="localhost"/&gt;
            &lt;/identity&gt;
        &lt;/endpoint&gt;         
      &lt;endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" contract="IMetadataExchange"/&gt;
      &lt;host&gt;
        &lt;baseAddresses&gt;
          &lt;add baseAddress="http://MyServerHere/ERPService/"/&gt;
        &lt;/baseAddresses&gt;
      &lt;/host&gt;
    &lt;/service&gt;
  &lt;/services&gt;
  &lt;behaviors&gt;
  &lt;serviceBehaviors&gt;
      &lt;behavior name="ERPService.Behavior"&gt;
        &lt;serviceMetadata httpGetEnabled="true"/&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="true"/&gt;
      &lt;/behavior&gt;
    &lt;/serviceBehaviors&gt;
  &lt;/behaviors&gt;
  &lt;/system.serviceModel&gt;
  
  &lt;startup&gt;&lt;supportedRuntime version="v2.0.50727"/&gt;&lt;/startup&gt;&lt;/configuration&gt;
  </code></pre>
  
  <p>What I am trying to configure here is that when I hit</p>
  
  <pre><code>http://caaditl20bz3.national.edu/ERPService/EnterpriseReportingWS.ERPService.svc/soap
  </code></pre>
  
  <p>I get SOAP 1.1 and when I hit </p>
  
  <pre><code>http://caaditl20bz3.national.edu/ERPService/EnterpriseReportingWS.ERPService.svc/soap12
  </code></pre>
  
  <p>I get SOAP 1.2.  However, the behavior I am getting is that neither of those resolve, and the only way I can access my service is from</p>
  
  <p><a href="http://caaditl20bz3.national.edu/ERPService/EnterpriseReportingWS.ERPService.svc" rel="nofollow">http://caaditl20bz3.national.edu/ERPService/EnterpriseReportingWS.ERPService.svc</a></p>
  
  <p>What have I screwed up?</p>
  
  <p><strong>UPDATE:</strong>  By removing the wshttpbinding endpoint and using the basichttpbinding endpoint only in my config, I can get get SOAP 1.1.  What do I need to do to be able to make both available?</p>