I need to create a C# Application to retrieve a list of devices from HPSM
I can add ConfigurationManagement.wdsl to my C# Project without an issue, now the issue is how do i connect to the server and perform queries.
everytime i use this
ConfigrationManagement.configurationManagementClient NewClient = new ConfigrationManagement.configurationManagementClient();
i get an error.
An unhandled exception of type 'System.InvalidOperationException' occurred in System.ServiceModel.dll
Additional information: Could not find default endpoint element that references contract 'ConfigrationManagement.configurationManagement' 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.
Im pretty sure i need to create this class before doing anything else as this class has a method that appears to be what i require