Hello Everyone,
a new problem today with the java SDK 7.5.
I try to connect to Config server and to retrieve AgentGroup information.
But I can't even connect, examples docs about COM AB is about SDK 7.6 and it seems really different...
Here is my problem :
[code]
Exception in thread "main" java.lang.NoSuchMethodError: com.genesyslab.platform.applicationblocks.commons.broker.EventBrokerService.<init>(Lcom/genesyslab/platform/commons/protocol/MessageReceiver;)V
at com.genesyslab.platform.applicationblocks.com.ConfService.<init>(Unknown Source)
at com.genesyslab.platform.applicationblocks.com.ConfServiceFactory.createConfService(Unknown Source)
at safir_cti_agent_groups.ConfServer.<init>(ConfServer.java:50)
at safir_cti_agent_groups.Main.main(Main.java:23)
[/code]
And here is my code :
The error is from this line : cfgService = ConfServiceFactory.createConfService(cfgServiceProtocol);
[code]
configServerHost=host;
configServerPort=port;
userName=login;
password=pwd;
clientName=appName;
this.nomProtocol=nomProtocol;
try {
cfgServiceProtocol=new ConfServerProtocol(new Endpoint(new URI("tcp://" + configServerHost + ":" + configServerPort)));
cfgServiceProtocol.setClientName(clientName);
cfgServiceProtocol.setUserName(userName);
cfgServiceProtocol.setUserPassword(password);
cfgServiceProtocol.setClientType(ConfServerClientType.SCE);
cfgServiceProtocol.open();
cfgService = ConfServiceFactory.createConfService(cfgServiceProtocol);
} catch (URISyntaxException ex) {
ex.printStackTrace();
}
[/code]
So if someone got a clue ;-)