if (servicexml != null) { HashMap<String, AxisService> wsdlServices = new HashMap<String, AxisService>(); ArchiveReader archiveReader = new ArchiveReader(); String path = config.getServletContext().getRealPath("/WEB-INF"); if (path != null) {
if (servicexml != null) { HashMap<String, AxisService> wsdlServices = new HashMap<String, AxisService>(); ArchiveReader archiveReader = new ArchiveReader(); String path = config.getServletContext().getRealPath("/WEB-INF"); if (path != null) {
ArchiveReader archiveReader = new ArchiveReader(); 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; } }
ArchiveReader archiveReader = new ArchiveReader(); String moduleStatus = ""; StringWriter errorWriter = new StringWriter();
ArchiveReader archiveReader = new ArchiveReader(); String moduleStatus = ""; StringWriter errorWriter = new StringWriter();
ArchiveReader archiveReader; StringWriter errorWriter = new StringWriter(); archiveReader = new ArchiveReader(); String serviceStatus = ""; try {
ArchiveReader archiveReader; StringWriter errorWriter = new StringWriter(); archiveReader = new ArchiveReader(); String serviceStatus = ""; try {
try { AxisConfiguration axisConfig = configCtx.getAxisConfiguration(); ArchiveReader archiveReader = new ArchiveReader(); PhasesInfo phasesInfo = axisConfig.getPhasesInfo(); final ClassLoader moduleClassLoader = module.getModuleClassLoader();
try { AxisConfiguration axisConfig = configCtx.getAxisConfiguration(); ArchiveReader archiveReader = new ArchiveReader(); PhasesInfo phasesInfo = axisConfig.getPhasesInfo(); final ClassLoader moduleClassLoader = module.getModuleClassLoader();
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); } }
ArchiveReader reader = new ArchiveReader(); BufferedReader input = new BufferedReader(new InputStreamReader(wsdlfilesStream)); String line;
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); } }
ArchiveReader reader = new ArchiveReader(); BufferedReader input = new BufferedReader(new InputStreamReader(wsdlfilesStream)); String line;
deployer); axismodule = new AxisModule(); ArchiveReader archiveReader = new ArchiveReader();
deployer); axismodule = new AxisModule(); ArchiveReader archiveReader = new ArchiveReader();