ServiceDescription service,
AxisConfiguration configurationContextVal,
ArrayList modules)
throws PhaseException {
try {
PhaseResolver reolve =
new PhaseResolver(configurationContextVal, service);
reolve.buildchains();
for (int i = 0; i < modules.size(); i++) {
QName qName = (QName) modules.get(i);
ModuleDescription moduledecs =
configurationContextVal.getModule(qName);
reolve.engageModuleToService(service, moduledecs);
}
} catch (PhaseException e) {
throw new PhaseException(e.getMessage());
} catch (AxisFault axisFault) {
throw new PhaseException(axisFault);