@Test
public void testGetBook123XMLSource() throws Exception {
String baseAddress = "http://localhost:9092/test/services/rest";
WebClient client = WebClient.create(baseAddress);
client.path("/bookstore/123").accept(MediaType.APPLICATION_XML_TYPE);
XMLSource source = client.get(XMLSource.class);
source.setBuffering(true);
Book b = source.getNode("/Book", Book.class);
assertEquals(123L, b.getId());
assertEquals("CXF in Action", b.getName());
b = source.getNode("/Book", Book.class);
assertEquals(123, b.getId());
assertEquals("CXF in Action", b.getName());
}