title: Consuming IIS Hosted WCF Application with multiple endpoints
body: <p>I have two endpoints in a service (WCFTestLibarary) which implements two different contracts. I have hosted this Service in IIS under the Application name WCFServiceAPP. </p>
  
  <pre><code> &lt; service behaviorConfiguration="WCFTestLibrary.Service1Behavior"
          name="WCFTestLibrary.Service1"&gt;  
           &lt; endpoint address="/MyService" binding="wsHttpBinding" contract="WCFTestLibrary.IService1" &gt; 
             &lt; identity&gt;  
              &lt; dns value="localhost" /&gt;
            &lt; /identity&gt;
          &lt; /endpoint&gt;
          &lt; endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /&gt;
          &lt; endpoint binding="wsHttpBinding" bindingConfiguration=""
            contract="WCFTestLibrary.IMicrosoft" address="/Microsoft" /&gt;
          &lt; /service&gt;
  </code></pre>
  
  <p>I am able to browse my service from IIS with the URL <a href="http://localhost/WCFServiceAPP/WCFTestLibrary.Service1.svc" rel="nofollow">http://localhost/WCFServiceAPP/WCFTestLibrary.Service1.svc</a> </p>
  
  <p>When i am trying to access 
  <a href="http://localhost/WCFServiceAPP/WCFTestLibrary.Service1.svc/MyService" rel="nofollow">http://localhost/WCFServiceAPP/WCFTestLibrary.Service1.svc/MyService</a> or/ Microsoft 
  i am getting bad request error.</p>