title: Unable to add a service reference to SAP in web API
body: <p>I am using a SAP service to get the data into the web API and then use that web API for the sharepoint client. The thing is when I consumed the SAP service in console application I got the data but when I used the web API it is showing following error 
  <strong><em>'Could not find default endpoint element that references contract 'AddonWCFService.SAPService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.'.</em></strong>
  But in web.config I have the end point tag defined. My web.config has following code</p>
  
  <pre><code>  &lt;service name="RCWindsSvc.Service1" behaviorConfiguration="RCWindsSvc.Service1Behavior"&gt;
        &lt;endpoint address="http://....../SAPService.aspx"
            binding="webHttpBinding"
            contract="RCWindsSvc.IService1"
            behaviorConfiguration="ServiceAspNetAjaxBehavior"
            name="RCWindsSvcEndpoint"/&gt;
        &lt;!-- behaviorConfiguration="WebBehaviour" /&gt; --&gt;
      &lt;/service&gt;
  </code></pre>