// EndpointReference's which help us communicate with
// the services. The helper proxy factory adds some additional
// useful methods
System.out.println("Creating endpoint reference proxy to PES service");
rawProxyFactory = new InvocationEngineProxyFactory(engine, cache);
proxyFactory = new HelperProxyFactory(rawProxyFactory, pluginManager.getHelperRegistry());
engine.setProxyFactory(proxyFactory);
return proxyFactory;
} catch (Exception ex) {
throw new RuntimeException("Error creating the proxy factory. " + ex.getMessage(), ex);