SE401:Group58:404Exceptions
Jump to navigation
Jump to search
Main Menu | Work Plan | Progress | Research Backlog | Functional Backlog |
Meeting Minutes | Supervisor Meeting Minutes | Sprint Log | Conference | Poster |
Problem
When trying to add a TCS service reference to your Visual Studio .NET WCF Service Project there is a very good change you get a Protocol Exception thrown, unless you follow the steps that the solution outlines.
Solution
private Service1Client proxy; /// <summary> /// The constructor of your class /// </summary> public PlayerPresenter() { BasicHttpBinding binding = new BasicHttpBinding(); EndpointAddress address = new EndpointAddress("http://localhost:50457/service1.svc"); proxy = new Service1Client(binding, address); }