while (modules.hasNext()) {
QName moduleName = (QName) modules.next();
AxisModule axisModule = axisConfig.getModule(moduleName);
if (axisModule != null) {
Module moduleImpl = axisModule.getModule();
if (moduleImpl != null) {
// notyfying module for service engagement
moduleImpl.engageNotify(service);
}
service.engageModule(axisModule, axisConfig);
} else {
throw new AxisFault(Messages.getMessage(
"modulenotavailble", moduleName.getLocalPart()));