sf.getServiceFactory().setWrapped(true);
// Use the HTTP Binding which understands the Java Rest Annotations
sf.getClientFactoryBean().setBindingId(HttpBindingFactory.HTTP_BINDING_ID);
sf.setAddress("http://localhost:" + PORT + "/xmlwrapped/");
BookServiceWrapped bs = (BookServiceWrapped)sf.create();
Book book = bs.getBook(123);
assertEquals(book.getId(), (long)123);
assertEquals(book.getName(), "CXF in Action");
}