if (callbackObj instanceof AxisCallback) {
AxisCallback axisCallback = (AxisCallback)callbackObj;
if (msgContext.isFault()) {
axisCallback.onFault(msgContext);
} else {
axisCallback.onMessage(msgContext);
}
// Either way we're done.
axisCallback.onComplete();
return;
}