VS 2015/WPF App
I know there are dozens of other questions about adding service references but I haven't seen any other problem like this one.
I can add the service reference and it generates the client side proxies just fine and I can get intelense support when constructing it.
But when trying to invoke the service I get the dreaded
Could not find default endpoint element that references contract 'ServiceReference1.NAMEOFSERVICE' 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.
So after looking through the dozens of the other questions on SO I looked at the configuration.svcinfo for the new service and find this.
<?xml version="1.0" encoding="utf-8"?>
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
<behaviors />
<bindings />
<endpoints />
</configurationSnapshot>
The other services I've been adding have a configuration.svcinfo file that looks something like this
<?xml version="1.0" encoding="utf-8"?>
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
<behaviors />
<bindings>
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="ServiceSoap"><security mode="Transport" /></Data>" bindingType="basicHttpBinding" name="ServiceSoap" />
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="ServiceSoap1" />" bindingType="basicHttpBinding" name="ServiceSoap1" />
</bindings>
<endpoints>
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="https://api.demo.globalgatewaye4.firstdata.com/transaction/v11" binding="basicHttpBinding" bindingConfiguration="ServiceSoap" contract="ServiceReference2.ServiceSoap" name="ServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="https://api.demo.globalgatewaye4.firstdata.com/transaction/v11" binding="basicHttpBinding" bindingConfiguration="ServiceSoap" contract="ServiceReference2.ServiceSoap" name="ServiceSoap" />" contractName="ServiceReference2.ServiceSoap" name="ServiceSoap" />
</endpoints>
</configurationSnapshot>
So basically the configuratione.svcinfo for this new service is empty.
Of course the app.config file doesn't have anything about this new service either.
Does anyone have any idea why VS would create the proxies successfully but not bother to create the configuration.svcinfo?