JABTransaction tx = null;
if (transaction != null) {
tx = transaction.getJABTransaction();
}
JABServiceInvoker remoteService = new JABServiceInvoker(serviceName,
session, bufferType, bufferSubType);
serialize(toSend, remoteService.getRequest());
remoteService.call(tx);
JABResponse responseMessage = new JABResponse(remoteService.getRCode());
deserialize(responseMessage, remoteService.getResponse());
return responseMessage;
}