bean.setAddress("http://localhost:" + PORT + "/databinding/sdo");
bean.setResourceClass(SDOResource.class);
List<Interceptor<? extends Message>> list = new ArrayList<Interceptor<? extends Message>>();
list.add(new LoggingInInterceptor());
bean.setInInterceptors(list);
SDOResource client = bean.create(SDOResource.class);
WebClient.client(client).accept("application/json");
Structure struct = client.getStructure();
assertEquals("sdo", struct.getText());
assertEquals(123.5, struct.getDbl(), 0.01);
assertEquals(3, struct.getInt());