MessageContext messageContext = new MessageContext();
messageContext.setRequestContext(new RequestContext());
messageContext.setResponseContext(new ResponseContext());
messageContext.setRequestConfigurationContext(requestConfigurationContext);
RequestHandlerChain requestHandlerChain = new RequestHandlerChain();
ResponseHandlerChain responseHandlerChain = new ResponseHandlerChain();
try {
requestHandlerChain.doChain(messageContext);
responseHandlerChain.doChain(messageContext);
} catch (CuubezException e) {
ResponseCodeTransformUtil.transform(messageContext, e);