// create and configure beans
ApplicationContext ctx =
new ClassPathXmlApplicationContext(new String[] {"scigest.xml"});
final PublishingService publishingService = (PublishingService) ctx.getBean("publishingWebServiceProxy");
// TODO: need to be integrated with ezpub configuration management to set the correct path
// setup client certificate and trustore for mutual authentication
// CertUtils.setKeystore("esg/search/ws/hessian/client/client-cert.ks");