Could not find default endpoint element that references contract 'ServiceReference1.AmadeusWebServicesPT' 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.
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
This error will arise if you're calling the service in an exceedingly class library and calling the class library from another project. during this case you may have to be compelled to embrace the WS configuration settings into the main projects app.config if its a winapp or web.config if its a web app. however you're checking it ? Did you tried to make client proxy/class using svcutil then test these strategies. it also generates need configuration in output,config file that you'll be able to use.
OR
try to delete/remove the tip points there and use
compilation debug=true
in web.config. after then attempt
svcutil.exe http://your_wsdl
you will generate associate output.config.
Try putting in place servicemodel nodes exchange your client web site or application with the output.config service model. it'll work
Nikunj SatasiyaPosted Oct 12, 2017, 9:18 AM