HI,
I'm new to genesys and have struggles with SolutionControlServerProtocol. So far i wasn't able to find anything except for this: [url=http://www.sggu.com/smf/index.php?topic=2698]http://www.sggu.com/smf/index.php?topic=2698[/url]
My Goal:
So my goal is to connect to Solution Control Server and get a few informations like; what is the current "Status", which "Mode" is it running, etc.
What I have:
So far i have tried a few different things, the most successful two are the following:
Best solution (so far):
string server = "tco://sisccpxxxx01:9201";
TimeSpan timeout = new TimeSpan(0, 0, 0, 0, 3000);
SolutionControlServerProtocol scsp = new SolutionControlServerProtocol(new Endpoint(new Uri(server)));
scsp.ClientName = "SomeName_Main";
scsp.ClientType = Genesyslab.Platform.Management.Protocols.SolutionControlServer.ControlObjectType.Solution;
scsp.Open(timeout);
I get the following error:
Genesyslab.Platform.Commons.Protocols.ProtocolException: Exception occured duing channel opening ---> System.Net.Sockets.Socket.Exception: Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte 10.238.xxx.xxx:9201 TRANSLATET (There is no connection because the target computer refused the connection).
I'm guessing the problem is that I don't give a id (scsp.ClientId), sadly I don't now what the id is and where i get it from. Can you help me out?
2nd solution (Like post I linked):
TimeSpan timeout = new TimeSpan(0, 0, 0, 0, 3000);
Endpoint endpoint = new Endpoint(name, host, port);
SolutionControlServerProtocol scsp = new SolutionControlServerProtocol(endpoint);
scsp.Open(timeout);
I get the following error:
Genesyslab.Platform.Commons.Protocols.ProtocolException: Exception occured duing channel opening ---> System.Net.Sockets.Socket.Exception: Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte 10.238.xxx.xxx:9201 TRANSLATET (There is no connection because the target computer refused the connection).
Same error as above.
What am I missing? Thank you for any help!
Version: 8.1.1.1211.00
Regards