### Question:
ServiceCodeCreator { public void createOperations() throws IOException, GeneratorException { for (Operation operation : operations) { createOperationCode(operation); } } ServiceCodeCreator(PropertiesSubstitutor st, ServiceCode sc, ServiceXml sxml, List<Operation> operations); void createOperations();  }### Answer:
@Test public void testOperationEvaluationID() throws GeneratorException, IOException { ioc = new Configuration(); URL url = this.getClass().getResource("/layoutevaluation.xml"); File testXml = new File(url.getFile()); ioc.setXmlConf(testXml); url = this.getClass().getResource("/toolwrapper.properties"); File testProjConf = new File(url.getFile()); ioc.setProjConf(testProjConf); st = new PropertiesSubstitutor(ioc.getProjConf()); JAXBContext context; try { context = JAXBContext .newInstance("eu.impact_project.iif.tw.toolspec"); Unmarshaller unmarshaller = context.createUnmarshaller(); Toolspec toolspec = (Toolspec) unmarshaller.unmarshal(new File(ioc .getXmlConf())); List<Service> services = toolspec.getServices().getService(); for (Service service : services) { PropertiesSubstitutor st = new PropertiesSubstitutor(ioc.getProjConf()); ServiceDef sdef = new ServiceDef(service.getName(), toolspec.getVersion()); st.setServiceDef(sdef); st.addVariable("tool_version", sdef.getVersion()); st.addVariable("project_title", sdef.getName()); st.addVariable("global_package_name", service.getServicepackage()); String cpp = service.getContextpathprefix(); st.addVariable("contextpath_prefix", ((cpp == null) ? "" : cpp)); st.deriveVariables(); File dir = new File(st.getTemplateDir()); st.processDirectory(dir); String generatedDir = st.getGenerateDir(); String projMidfix = st.getProjectMidfix(); String projDir = st.getProjectDirectory(); String wsdlSourcePath = FileUtil.makePath("tmpl") + "Template.wsdl"; String wsdlTargetPath = FileUtil.makePath(generatedDir, projDir, "src", "main", "webapp") + projMidfix + ".wsdl"; List<Operation> operations = service.getOperations().getOperation(); WsdlCreator wsdlCreator = new WsdlCreator(st, wsdlSourcePath, wsdlTargetPath, operations); wsdlCreator.insertDataTypes(); st.processFile(new File(wsdlTargetPath)); String sjf = FileUtil.makePath(generatedDir, projDir, "src", "main", "java", st.getProjectPackagePath()) + projMidfix + ".java"; String serviceTmpl = st.getProp("project.template.service"); ServiceCode sc = new ServiceCode(serviceTmpl); ServiceXml sxml = new ServiceXml("tmpl/servicexml.vm"); sxml.put(st.getContext()); ServiceCodeCreator scc = new ServiceCodeCreator(st, sc, sxml, operations); scc.createOperations(); } } catch (JAXBException ex) { throw new GeneratorException( "Unable to create XML binding for toolspec"); } }