public static Map<String, Object> testRollbackListener(DispatchContext dctx, Map<String, ?> context) {
ServiceXaWrapper xar = new ServiceXaWrapper(dctx);
xar.setRollbackService("testScv", context);
try {
xar.enlist();
} catch (XAException e) {
Debug.logError(e, module);
}
return ServiceUtil.returnError("Rolling back!");
}