public void testRetrieveBookCustomMethodAsyncSync() throws Exception {
String address = "http://localhost:" + PORT + "/bookstore/retrieve";
WebClient wc = WebClient.create(address);
wc.type("application/xml").accept("application/xml");
WebClient.getConfig(wc).getRequestContext().put("use.async.http.conduit", true);
Book book = wc.invoke("RETRIEVE", new Book("Retrieve", 123L), Book.class);
assertEquals("Retrieve", book.getName());
}
@Test
public void testDeleteWithBody() throws Exception {