} else if((new File(next.getWsdlFileUri())).isAbsolute()) {
// Absolute WSDL file paths set as is
next.setWsdlFileUrl((new File(next.getWsdlFileUri())).toURL());
} else {
// Relative WSDL file paths prefixed with module dir
BaseManager mgr=null;
if(next.getBundleDescriptor().getApplication().isVirtual()) {
ModuleType mType = next.getBundleDescriptor().getModuleType();
if(mType.equals(ModuleType.WAR)) {
mgr = DeploymentServiceUtils.getInstanceManager(DeployableObjectType.WEB);
} else if(mType.equals(ModuleType.EAR)) {
mgr = DeploymentServiceUtils.getInstanceManager(DeployableObjectType.APP);
} else if(mType.equals(ModuleType.EJB)) {
mgr = DeploymentServiceUtils.getInstanceManager(DeployableObjectType.EJB);
} else if(mType.equals(ModuleType.CAR)) {
mgr = DeploymentServiceUtils.getInstanceManager(DeployableObjectType.CAR);
}
String deployedDir =
mgr.getLocation(next.getBundleDescriptor().getApplication().getRegistrationName());
if(deployedDir != null) {
File fileURL;
if(next.getBundleDescriptor().getApplication().isVirtual()) {
fileURL = new File(deployedDir+File.separator+next.getWsdlFileUri());
} else {