return archiveReader.processWSDLs(deploymentFileData);
public Map<String, AxisService> buildAxisServices(DeploymentFileData deploymentFileData) throws DeploymentException { ArchiveReader archiveReader = new ArchiveReader(); Map<String, AxisService> wsdlservices = archiveReader.processWSDLs(deploymentFileData); if (wsdlservices != null && wsdlservices.size() > 0) { for (AxisService service : wsdlservices.values()) { Iterator<AxisOperation> operations = service.getOperations(); while (operations.hasNext()) { AxisOperation axisOperation = operations.next(); try { getConfigurationContext().getAxisConfiguration().getPhasesInfo() .setOperationPhases(axisOperation); } catch (AxisFault e) { throw new DeploymentException(e); } } } } return wsdlservices; } }
public Map<String, AxisService> buildAxisServices(DeploymentFileData deploymentFileData) throws DeploymentException { ArchiveReader archiveReader = new ArchiveReader(); Map<String, AxisService> wsdlservices = archiveReader.processWSDLs(deploymentFileData); if (wsdlservices != null && wsdlservices.size() > 0) { for (AxisService service : wsdlservices.values()) { Iterator<AxisOperation> operations = service.getOperations(); while (operations.hasNext()) { AxisOperation axisOperation = operations.next(); try { getConfigurationContext().getAxisConfiguration().getPhasesInfo() .setOperationPhases(axisOperation); } catch (AxisFault e) { throw new DeploymentException(e); } } } } return wsdlservices; } }
(File)axisConfig.getParameterValue(Constants.Configuration.ARTIFACTS_TEMP_DIR), axisConfig.isChildFirstClassLoading()); HashMap wsdlservice = archiveReader.processWSDLs(filedata); if (wsdlservice != null && wsdlservice.size() > 0) { Iterator servicesitr = wsdlservice.values().iterator();
(File)axisConfig.getParameterValue(Constants.Configuration.ARTIFACTS_TEMP_DIR), axisConfig.isChildFirstClassLoading()); HashMap wsdlservice = archiveReader.processWSDLs(filedata); if (wsdlservice != null && wsdlservice.size() > 0) { Iterator servicesitr = wsdlservice.values().iterator();
public static AxisServiceGroup loadServiceGroup(File serviceFile, ConfigurationContext configCtx) throws AxisFault { try { DeploymentFileData currentDeploymentFile = new DeploymentFileData(serviceFile, null); DeploymentClassLoader classLoader = Utils.createClassLoader(serviceFile, configCtx.getAxisConfiguration().isChildFirstClassLoading()); currentDeploymentFile.setClassLoader(classLoader); AxisServiceGroup serviceGroup = new AxisServiceGroup(); serviceGroup.setServiceGroupClassLoader(classLoader); // Drop the extension and take the name String fileName = serviceFile.getName(); String serviceGroupName = fileName.substring(0, fileName.lastIndexOf(".")); serviceGroup.setServiceGroupName(serviceGroupName); AxisConfiguration axisConfig = configCtx.getAxisConfiguration(); ArchiveReader archiveReader = new ArchiveReader(); HashMap<String, AxisService> wsdlServices = archiveReader.processWSDLs(currentDeploymentFile); InputStream serviceXml = classLoader.getResourceAsStream("META-INF/services.xml"); ArrayList<AxisService> serviceList = archiveReader.buildServiceGroup(serviceXml, currentDeploymentFile, serviceGroup, wsdlServices, configCtx); fillServiceGroup(serviceGroup, serviceList, null, axisConfig); return serviceGroup; } catch (Exception e) { throw new DeploymentException(e); } }
public static AxisServiceGroup loadServiceGroup(File serviceFile, ConfigurationContext configCtx) throws AxisFault { try { DeploymentFileData currentDeploymentFile = new DeploymentFileData(serviceFile, null); DeploymentClassLoader classLoader = Utils.createClassLoader(serviceFile, configCtx.getAxisConfiguration().isChildFirstClassLoading()); currentDeploymentFile.setClassLoader(classLoader); AxisServiceGroup serviceGroup = new AxisServiceGroup(); serviceGroup.setServiceGroupClassLoader(classLoader); // Drop the extension and take the name String fileName = serviceFile.getName(); String serviceGroupName = fileName.substring(0, fileName.lastIndexOf(".")); serviceGroup.setServiceGroupName(serviceGroupName); AxisConfiguration axisConfig = configCtx.getAxisConfiguration(); ArchiveReader archiveReader = new ArchiveReader(); HashMap<String, AxisService> wsdlServices = archiveReader.processWSDLs(currentDeploymentFile); InputStream serviceXml = classLoader.getResourceAsStream("META-INF/services.xml"); ArrayList<AxisService> serviceList = archiveReader.buildServiceGroup(serviceXml, currentDeploymentFile, serviceGroup, wsdlServices, configCtx); fillServiceGroup(serviceGroup, serviceList, null, axisConfig); return serviceGroup; } catch (Exception e) { throw new DeploymentException(e); } }