title: VB.NET & SOAP - More than one endpoint configuration for that contract was found
body: <p>I am trying to call the webservice that can be seen at:
  <a href="http://www.flexiblecarhire.com/flexibleservice/fchxmlinterface.asmx?op=GetAirportLocations" rel="nofollow">http://www.flexiblecarhire.com/flexibleservice/fchxmlinterface.asmx?op=GetAirportLocations</a></p>
  
  <p>I am using VB.net, but any solution in C# will be very welcome.</p>
  
  <p>The way I am doing it is:</p>
  
  <ol>
  <li><p>I am adding a new Service Reference to <a href="http://www.flexiblecarhire.com/flexibleservice/fchxmlinterface.asmx" rel="nofollow">http://www.flexiblecarhire.com/flexibleservice/fchxmlinterface.asmx</a> and selecting fchXMLInterface > fchXMLInterfaceHttpPost</p></li>
  <li><p>In my code I have: <code>Dim API As New ServiceReference1.fchXMLInterfaceSoapClient</code></p></li>
  </ol>
  
  <p>When I run that, I am having an error message saying that:</p>
  
  <blockquote>
    <p>An endpoint configuration section for contract 'ServiceReference1.fchXMLInterfaceSoap' could not be loaded because more than one endpoint configuration for that contract was found. Please indicate the preferred endpoint configuration section by name.</p>
  </blockquote>
  
  <p>I checked the help at the first link I posted here and I could not find that. How can I fix that?</p>
  
  <p>If I can't call this webservice as ServiceReference, how can I call this webservice?</p>