Replaced RestEasy jax-rs client with cxf.