String message = args[0];
try {
JABConnectionFactory jcf = new JABConnectionFactory(
"JABFactoryClientTest");
JABConnection c = jcf.getConnection("connection");
Transaction t = c.beginTransaction(-1);
JABBuffer b = new JABBuffer();
b.setValue("X_OCTET", message.getBytes());
log.info("Calling call with input: " + message);
JABResponse call = c.call("FOOAPP", b, t, "X_OCTET", null);
log.info("Called call with output: " + call.getValue("X_OCTET"));