}
WebAppDescriptorService descriptorSvc = new WebAppDescriptorServiceImpl();
WebAppDD webAppDDIn = descriptorSvc.read(webXmlIn);
PortletAppDescriptorService portletAppDescriptorService =
new PortletAppDescriptorServiceImpl();
PortletAppDD portletAppDD = portletAppDescriptorService.read(portletXmlIn);
portletXmlIn.close();
for (Iterator it = portletAppDD.getPortlets().iterator();
it.hasNext(); ) {