CheckStatusRequest checkStatusRequest = new CheckStatusRequest();
checkStatusRequest.setId(transferResponse.getId());
checkStatusRequest.setBank("Bank of Camel");
checkStatusRequest.setFrom("Jakub");
CheckStatusResponse checkStatusResponse = template.requestBodyAndHeader(String.format("cxf:http://localhost:%d/paymentServicev2?serviceClass=org.camelcookbook.ws.payment_service_v2.Payment", port1), checkStatusRequest, "operationName", "checkStatus", CheckStatusResponse.class);
assertNotNull(checkStatusResponse);
assertEquals("Complete", checkStatusResponse.getStatus());
}