Could not find endpoint element with name 'xxxxx' and contract 'yyy' in the ServiceModel client configuration section
问题 I generated a proxy via this command - svcutil.exe /language:cs /out:generatedProxy.cs /config:app.config https://service100.emedny.org:9047/MHService?wsdl and then copied the elements from the resulting app.config into the app.config file of an existing project. When I try to access the client in that config file via- MHSClient serviceProxy = new MHSClient("MHSPort"); it should reference the second client below: <client> <endpoint address="https://webservices.hmsa.com/EDI27X/cstc