}
HashMap opeartions = serviceDescription.getOperations();
Collection opCol = opeartions.values();
for (Iterator iterator = opCol.iterator(); iterator.hasNext();) {
OperationDescription opDesc = (OperationDescription) iterator.next();
ArrayList modules = opDesc.getModuleRefs();
for (int i = 0; i < modules.size(); i++) {
QName moduleName = (QName) modules.get(i);
ModuleDescription module = axisConfig.getModule(moduleName);
if (module != null) {
opDesc.engageModule(module);
} else {
throw new DeploymentException(Messages.getMessage(
DeploymentErrorMsgs.IN_VALID_MODUELE_REF_BY_OP, opDesc.getName()
.getLocalPart(), moduleName.getLocalPart()));
}
}
}