// Create an RMSBean so the create sequence message can be created
messageContext.setWSAAction(pingAction);
// Set the AxisOperation to be InOut
AxisOperation operation = messageContext.getAxisService().getOperation(Sandesha2Constants.RM_IN_OUT_OPERATION);
operation.setMessageReceiver(new RMMessageReceiver());
messageContext.setAxisOperation(operation);
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
// Serialize the application message