if (callbackObj == null) {
throw new AxisFault("The Callback for MessageID " + messageID + " was not found");
}
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;
}
// THIS NEXT PART WILL EVENTUALLY GO AWAY WHEN Callback DOES