try {
proxyFactory = createProxyFactory(clientKeystorePath, password, validator);
pesEpr = ConversationID.getEPR(pesSvcEndpoint);
pesProxy = proxyFactory.createProxy(pesEpr, RemotePesService.class);
} catch (Exception ex) {
throw new RuntimeException("Error ", ex);
}