// attribute selector, which stores tokens in the token cache
engine.setAttributeSelector(new DefaultAttributeSelector(tokenCache));
// Tell the engine to use a federation selector, which finds
// management context (SLAs, Trade Accounts) when invoking an
// operation.
engine.setFederationSelector(new DefaultFederationSelector());
// The proxy factory creates proxy object from
// 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");