Error while adding WCF reference in the Windows Form Solun
Metadata contains a reference that cannot be resolved: 'http://192.168.1.86:8080/spectrum/restful/models'. The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Basic realm="spectrum"'. The remote server returned an error: (401) Unauthorized. If the service is defined in the current solution, try building the solution and adding the service reference again.
Anna ChatPosted Sep 25, 2015, 2:00 AM
Shreyas TgPosted Sep 24, 2015, 7:28 AM
Anna ChatPosted Sep 24, 2015, 7:27 AM
Shreyas TgPosted Sep 24, 2015, 7:15 AM
You are missing service configuration
With this config you should not need to define base address in code.