}else{
ArrayList methodList = page2Bean.getSelectedMethodNames();
if (methodList.isEmpty()){
throw new ProcessException("There are no methods selected to generate the service!!");
}
serviceFile=new ServiceFileCreator().createServiceFile(page2Bean.getProviderClassName(),
page2Bean.getAutomaticClassName(),
page2Bean.getSelectedMethodNames());//create the file here
isServiceCreated = true;
}