// server connections get connected immediately
server.immediateConnect();
}
} catch (Exception ex) {
LOGGER.error("immediate connect", ex);
HasFaultResponseException communicationException = new SCMPCommunicationException(SCMPError.CONNECTION_EXCEPTION,
"immediate connect to server=" + serverKey);
communicationException.setMessageType(getKey());
throw communicationException;
}
// add server to service
service.addServer(server);
// add service to server