diff --git a/haas-java-client/.classpath b/haas-java-client/.classpath index 8433ca6cd09c102eb627ee07ccba5210fb875e64..b4b6d343de16cbae53976b89620162a7875f990a 100644 --- a/haas-java-client/.classpath +++ b/haas-java-client/.classpath @@ -22,12 +22,24 @@ <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> - <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> + <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"> <attributes> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> - <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"> + <classpathentry kind="src" output="target/classes" path="target/jaxws/wsimport/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="src" output="target/classes" path="target}/haxws/wsimport/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> <attributes> <attribute name="maven.pomderived" value="true"/> </attributes> diff --git a/haas-java-client/.settings/org.eclipse.core.resources.prefs b/haas-java-client/.settings/org.eclipse.core.resources.prefs index f19dd1b359783aa4435d8fbe77d3e327854fda73..e906204619b5ad73461c62ae60b8d45e9ebb7f69 100644 --- a/haas-java-client/.settings/org.eclipse.core.resources.prefs +++ b/haas-java-client/.settings/org.eclipse.core.resources.prefs @@ -1,43 +1,7 @@ eclipse.preferences.version=1 encoding//src/main/java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/AsymmetricKeyCredentialsExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/AuthenticationCredentialsExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/ClusterNodeTypeExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/CommandTemplateExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/CommandTemplateParameterExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/CommandTemplateParameterValueExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferMethodExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWs.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsLocator.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsSoap.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsSoapStub.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/DigitalSignatureCredentialsExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/EnvironmentVariableExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferMethodExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferProtocolExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWs.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsLocator.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoap.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoap12Stub.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoapStub.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWs.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsLocator.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsSoap.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsSoapStub.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobPriorityExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobSpecificationExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobStateExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/PasswordCredentialsExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/SubmittedJobInfoExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/SubmittedTaskInfoExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/TaskSpecificationExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/TaskStateExt.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWs.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsLocator.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoap.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoap12Stub.java=UTF-8 -encoding//src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoapStub.java=UTF-8 encoding//src/main/resources=UTF-8 encoding//src/test/java=UTF-8 encoding//src/test/resources=UTF-8 +encoding//target/jaxws/wsimport/java=UTF-8 encoding/<project>=UTF-8 diff --git a/haas-java-client/pom.xml b/haas-java-client/pom.xml index 83774900bc659850d176189155892c2b39113da5..2da2fd0999eeb6123f8577490315ee9000ebc29d 100644 --- a/haas-java-client/pom.xml +++ b/haas-java-client/pom.xml @@ -1,4 +1,5 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>cz.it4i.fiji</groupId> @@ -21,17 +22,77 @@ </configuration> </plugin> <plugin> - <artifactId>maven-source-plugin</artifactId> - <version>3.0.1</version> - <executions> - <execution> - <id>attach-sources</id> - <phase>compile</phase> - <goals><goal>jar-no-fork</goal></goals> - </execution> - </executions> - </plugin> + <artifactId>maven-source-plugin</artifactId> + <version>3.0.1</version> + <executions> + <execution> + <id>attach-sources</id> + <phase>compile</phase> + <goals> + <goal>jar-no-fork</goal> + </goals> + </execution> + </executions> + </plugin> + + <!-- usage of jax-ws maven plugin --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jaxws-maven-plugin</artifactId> + <version>1.12</version> + <executions> + <execution> + <id>wsimport-from-jdk</id> + <goals> + <goal>wsimport</goal> + </goals> + </execution> + </executions> + <configuration> + <!-- using wsdl from an url --> + <!-- <wsdlUrls> <wsdlUrl> http://haas.vsb.cz/HaasWsFiji/UserAndLimitationManagementWs.asmx?WSDL + </wsdlUrl> <wsdlUrl> http://haas.vsb.cz/HaasWsFiji/JobManagementWs.asmx?WSDL + </wsdlUrl> <wsdlUrl> http://haas.vsb.cz/HaasWsFiji/DataTransferWs.asmx?WSDL + </wsdlUrl> <wsdlUrl> http://haas.vsb.cz/HaasWsFiji/FileTransferWs.asmx?WSDL + </wsdlUrl> </wsdlUrls> --> + <!-- or using wsdls file directory --> + <wsdlDirectory>src/wsdl</wsdlDirectory> + <!-- which wsdl file --> + <wsdlFiles> + <wsdlFile>UserAndLimitationManagementWs.wsdl</wsdlFile> + <wsdlFile>JobManagementWs.wsdl</wsdlFile> + <wsdlFile>DataTransferWs.wsdl</wsdlFile> + <wsdlFile>FileTransferWs.wsdl</wsdlFile> + </wsdlFiles> + <!-- Keep generated files --> + <!-- Package name --> + <!-- generated source files destination --> + <extension>true</extension> + <keep>true</keep> + <packageName>cz.it4i.fiji.haas_java_client.proxy</packageName> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.9</version> + <executions> + <execution> + <id>add-source</id> + <phase>generate-sources</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> + <source>${project.build.directory}}/haxws/wsimport/java</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> </plugins> + </build> <dependencies> <dependency> @@ -46,13 +107,13 @@ <artifactId>java-scpclient</artifactId> <version>0.0.1-SNAPSHOT</version> </dependency> - - <!-- https://mvnrepository.com/artifact/javax.mail/mail --> - <dependency> - <groupId>javax.mail</groupId> - <artifactId>mail</artifactId> - <version>1.4.7</version> - </dependency> + + <!-- https://mvnrepository.com/artifact/javax.mail/mail --> + <dependency> + <groupId>javax.mail</groupId> + <artifactId>mail</artifactId> + <version>1.4.7</version> + </dependency> <!-- https://mvnrepository.com/artifact/org.apache.axis/axis --> <dependency> <groupId>org.apache.axis</groupId> @@ -68,9 +129,9 @@ <!-- https://mvnrepository.com/artifact/javax.xml/jaxrpc --> <!-- https://mvnrepository.com/artifact/javax.xml/jaxrpc-api --> <dependency> - <groupId>javax.xml</groupId> - <artifactId>jaxrpc-api</artifactId> - <version>1.1</version> + <groupId>javax.xml</groupId> + <artifactId>jaxrpc-api</artifactId> + <version>1.1</version> </dependency> <!-- https://mvnrepository.com/artifact/wsdl4j/wsdl4j --> @@ -80,7 +141,7 @@ <version>1.5.1</version> </dependency> - + </dependencies> <distributionManagement> <repository> diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/HaaSClient.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/HaaSClient.java index b6190091364b7b3f129078a78d98ae0479c0228e..b4f23376caebc4afae079e901816209d16dcb453 100644 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/HaaSClient.java +++ b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/HaaSClient.java @@ -14,8 +14,11 @@ import java.util.HashMap; import java.util.LinkedList; import java.util.Map; import java.util.Map.Entry; +import java.util.Optional; +import java.util.function.Consumer; import java.util.stream.Collectors; +import javax.xml.datatype.XMLGregorianCalendar; import javax.xml.rpc.ServiceException; import org.slf4j.Logger; @@ -23,13 +26,16 @@ import org.slf4j.LoggerFactory; import com.jcraft.jsch.JSchException; +import cz.it4i.fiji.haas_java_client.proxy.ArrayOfCommandTemplateParameterValueExt; +import cz.it4i.fiji.haas_java_client.proxy.ArrayOfEnvironmentVariableExt; +import cz.it4i.fiji.haas_java_client.proxy.ArrayOfTaskFileOffsetExt; +import cz.it4i.fiji.haas_java_client.proxy.ArrayOfTaskSpecificationExt; import cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterValueExt; -import cz.it4i.fiji.haas_java_client.proxy.EnvironmentVariableExt; import cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt; -import cz.it4i.fiji.haas_java_client.proxy.FileTransferWsLocator; +import cz.it4i.fiji.haas_java_client.proxy.FileTransferWs; import cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap; import cz.it4i.fiji.haas_java_client.proxy.JobFileContentExt; -import cz.it4i.fiji.haas_java_client.proxy.JobManagementWsLocator; +import cz.it4i.fiji.haas_java_client.proxy.JobManagementWs; import cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoap; import cz.it4i.fiji.haas_java_client.proxy.JobPriorityExt; import cz.it4i.fiji.haas_java_client.proxy.JobSpecificationExt; @@ -39,7 +45,7 @@ import cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt; import cz.it4i.fiji.haas_java_client.proxy.SynchronizableFilesExt; import cz.it4i.fiji.haas_java_client.proxy.TaskFileOffsetExt; import cz.it4i.fiji.haas_java_client.proxy.TaskSpecificationExt; -import cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsLocator; +import cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWs; import cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap; import cz.it4i.fiji.scpclient.ScpClient; import cz.it4i.fiji.scpclient.TransferFileProgress; @@ -47,36 +53,36 @@ import cz.it4i.fiji.scpclient.TransferFileProgress; public class HaaSClient { public static final TransferFileProgress DUMMY_TRANSFER_FILE_PROGRESS = new TransferFileProgress() { - + @Override public void dataTransfered(long bytesTransfered) { // TODO Auto-generated method stub - + } }; public static ProgressNotifier DUMMY_PROGRESS_NOTIFIER = new ProgressNotifier() { - + @Override public void setTitle(String title) { } - + @Override public void setItemCount(int count, int total) { } - + @Override public void setCount(int count, int total) { } - + @Override public void itemDone(Object item) { } - + @Override public void done() { } - + @Override public void addItem(Object item) { } @@ -142,13 +148,13 @@ public class HaaSClient { private SynchronizableFilesExt getType(SynchronizableFileType type) { switch (type) { case LogFile: - return SynchronizableFilesExt.LogFile; + return SynchronizableFilesExt.LOG_FILE; case ProgressFile: - return SynchronizableFilesExt.ProgressFile; + return SynchronizableFilesExt.PROGRESS_FILE; case StandardErrorFile: - return SynchronizableFilesExt.StandardErrorFile; + return SynchronizableFilesExt.STANDARD_ERROR_FILE; case StandardOutputFile: - return SynchronizableFilesExt.StandardOutputFile; + return SynchronizableFilesExt.STANDARD_OUTPUT_FILE; default: throw new UnsupportedOperationException("Unsupported type: " + type); } @@ -162,16 +168,16 @@ public class HaaSClient { static { Map<JobStateExt, JobState> map = new HashMap<JobStateExt, JobState>(); - map.put(JobStateExt.Canceled, JobState.Canceled); - map.put(JobStateExt.Configuring, JobState.Configuring); - map.put(JobStateExt.Failed, JobState.Failed); - map.put(JobStateExt.Finished, JobState.Finished); - map.put(JobStateExt.Queued, JobState.Queued); - map.put(JobStateExt.Running, JobState.Running); - map.put(JobStateExt.Submitted, JobState.Submitted); + map.put(JobStateExt.CANCELED, JobState.Canceled); + map.put(JobStateExt.CONFIGURING, JobState.Configuring); + map.put(JobStateExt.FAILED, JobState.Failed); + map.put(JobStateExt.FINISHED, JobState.Finished); + map.put(JobStateExt.QUEUED, JobState.Queued); + map.put(JobStateExt.RUNNING, JobState.Running); + map.put(JobStateExt.SUBMITTED, JobState.Submitted); WS_STATE2STATE = Collections.unmodifiableMap(map); } - + private String sessionID; private UserAndLimitationManagementWsSoap userAndLimitationManagement; @@ -190,7 +196,6 @@ public class HaaSClient { private final Map<Long, P_FileTransferPool> filetransferPoolMap = new HashMap<>(); - private final Settings settings; private final int numberOfCoresPerNodes; @@ -204,14 +209,14 @@ public class HaaSClient { this.numberOfCoresPerNodes = settings.getNumberOfCoresPerNode(); } - public long createJob(String name,int numberOfNodes, Collection<Entry<String, String>> templateParameters) { + public long createJob(String name, int numberOfNodes, Collection<Entry<String, String>> templateParameters) { try { return doCreateJob(name, numberOfNodes, templateParameters); } catch (RemoteException | ServiceException e) { throw new RuntimeException(e); } } - + public long createJob(String name, Collection<Entry<String, String>> templateParameters) { return createJob(name, 1, templateParameters); } @@ -223,7 +228,7 @@ public class HaaSClient { throw new HaaSClientException(e); } } - + public HaaSFileTransfer startFileTransfer(long jobId) { return startFileTransfer(jobId, DUMMY_TRANSFER_FILE_PROGRESS); } @@ -239,7 +244,7 @@ public class HaaSClient { public JobInfo obtainJobInfo(long jobId) { try { final SubmittedJobInfoExt info = getJobManagement().getCurrentInfoForJob(jobId, getSessionID()); - final Collection<Long> tasksId = Arrays.asList(info.getTasks()).stream().map(ti -> ti.getId()) + final Collection<Long> tasksId = info.getTasks().getSubmittedTaskInfoExt().stream().map(ti -> ti.getId()) .collect(Collectors.toList()); return new JobInfo() { @Override @@ -254,17 +259,17 @@ public class HaaSClient { @Override public java.util.Calendar getStartTime() { - return info.getStartTime(); + return toGregorian(info.getStartTime()); }; @Override public java.util.Calendar getEndTime() { - return info.getEndTime(); + return toGregorian(info.getEndTime()); }; @Override public Calendar getCreationTime() { - return info.getCreationTime(); + return toGregorian(info.getCreationTime()); }; }; } catch (RemoteException | ServiceException e) { @@ -275,8 +280,10 @@ public class HaaSClient { public Collection<JobFileContentExt> downloadPartsOfJobFiles(Long jobId, HaaSClient.SynchronizableFiles files) { try { - return Arrays.asList(getFileTransfer().downloadPartsOfJobFilesFromCluster(jobId, - files.getFiles().stream().toArray(TaskFileOffsetExt[]::new), getSessionID())); + ArrayOfTaskFileOffsetExt fileOffsetExt = new ArrayOfTaskFileOffsetExt(); + fileOffsetExt.getTaskFileOffsetExt().addAll(files.getFiles()); + return getFileTransfer().downloadPartsOfJobFilesFromCluster(jobId, fileOffsetExt, getSessionID()) + .getJobFileContentExt(); } catch (RemoteException | ServiceException e) { throw new HaaSClientException(e); } @@ -284,7 +291,7 @@ public class HaaSClient { public Collection<String> getChangedFiles(long jobId) { try { - return Arrays.asList(getFileTransfer().listChangedFilesForJob(jobId, getSessionID())); + return getFileTransfer().listChangedFilesForJob(jobId, getSessionID()).getString(); } catch (RemoteException | ServiceException e) { throw new HaaSClientException(e); } @@ -347,12 +354,13 @@ public class HaaSClient { return new ScpClient(fileTransfer.getServerHostname(), fileTransfer.getCredentials().getUsername(), pvtKey); } - private JobSpecificationExt createJobSpecification(String name, int numberOfNodes, Collection<TaskSpecificationExt> tasks) { + private JobSpecificationExt createJobSpecification(String name, int numberOfNodes, + Collection<TaskSpecificationExt> tasks) { JobSpecificationExt testJob = new JobSpecificationExt(); testJob.setName(name); testJob.setMinCores(numberOfCoresPerNodes * numberOfNodes); testJob.setMaxCores(numberOfCoresPerNodes * numberOfNodes); - testJob.setPriority(JobPriorityExt.Average); + testJob.setPriority(JobPriorityExt.AVERAGE); testJob.setProject(projectId); testJob.setWaitingLimit(null); testJob.setWalltimeLimit(timeOut); @@ -362,14 +370,13 @@ public class HaaSClient { testJob.setNotifyOnFinish(false); testJob.setNotifyOnStart(false); testJob.setClusterNodeTypeId(clusterNodeType); - testJob.setEnvironmentVariables(new EnvironmentVariableExt[0]); - testJob.setTasks(tasks.stream().toArray(TaskSpecificationExt[]::new)); - + testJob.setEnvironmentVariables( new ArrayOfEnvironmentVariableExt()); + testJob.setTasks(getAndFill(new ArrayOfTaskSpecificationExt(), a -> a.getTaskSpecificationExt().addAll(tasks))); return testJob; } - private TaskSpecificationExt createTaskSpecification(String name, long templateId, - int numberOfNodes, Collection<Entry<String, String>> templateParameters) { + private TaskSpecificationExt createTaskSpecification(String name, long templateId, int numberOfNodes, + Collection<Entry<String, String>> templateParameters) { TaskSpecificationExt testTask = new TaskSpecificationExt(); testTask.setName(name); @@ -386,37 +393,38 @@ public class HaaSClient { testTask.setLogFile("console_Stdlog"); testTask.setClusterTaskSubdirectory(null); testTask.setCommandTemplateId(templateId); // commandTemplateID - testTask.setEnvironmentVariables(new EnvironmentVariableExt[0]); + testTask.setEnvironmentVariables(new ArrayOfEnvironmentVariableExt()); testTask.setDependsOn(null); - testTask.setTemplateParameterValues(templateParameters.stream() - .map(pair -> new CommandTemplateParameterValueExt(pair.getKey(), pair.getValue())) - .toArray(CommandTemplateParameterValueExt[]::new)); + testTask.setTemplateParameterValues(getAndFill(new ArrayOfCommandTemplateParameterValueExt(), + t -> t.getCommandTemplateParameterValueExt() + .addAll(templateParameters.stream() + .map(pair -> createCommandTemplateParameterValueExt(pair.getKey(), pair.getValue())) + .collect(Collectors.toList())))); return testTask; } private String authenticate() throws RemoteException, ServiceException { return getUserAndLimitationManagement() - .authenticateUserPassword(new PasswordCredentialsExt(settings.getUserName(), settings.getPassword())); + .authenticateUserPassword(createPasswordCredentialsExt(settings.getUserName(), settings.getPassword())); } private UserAndLimitationManagementWsSoap getUserAndLimitationManagement() throws ServiceException { if (userAndLimitationManagement == null) { - userAndLimitationManagement = new UserAndLimitationManagementWsLocator() - .getUserAndLimitationManagementWsSoap12(); + userAndLimitationManagement = new UserAndLimitationManagementWs().getUserAndLimitationManagementWsSoap12(); } return userAndLimitationManagement; } private JobManagementWsSoap getJobManagement() throws ServiceException { if (jobManagement == null) { - jobManagement = new JobManagementWsLocator().getJobManagementWsSoap(); + jobManagement = new JobManagementWs().getJobManagementWsSoap12(); } return jobManagement; } private FileTransferWsSoap getFileTransfer() throws ServiceException { if (fileTransfer == null) { - fileTransfer = new FileTransferWsLocator().getFileTransferWsSoap12(); + fileTransfer = new FileTransferWs().getFileTransferWsSoap12(); } return fileTransfer; } @@ -520,4 +528,27 @@ public class HaaSClient { } + private static <T> T getAndFill(T value, Consumer<T> filler) { + filler.accept(value); + return value; + } + + private static Calendar toGregorian(XMLGregorianCalendar time) { + return Optional.ofNullable(time).map(t -> t.toGregorianCalendar()).orElse(null); + } + + private static CommandTemplateParameterValueExt createCommandTemplateParameterValueExt(String key, String value) { + CommandTemplateParameterValueExt result = new CommandTemplateParameterValueExt(); + result.setCommandParameterIdentifier(key); + result.setParameterValue(value); + return result; + } + + private static PasswordCredentialsExt createPasswordCredentialsExt(String userName, String password) { + PasswordCredentialsExt result = new PasswordCredentialsExt(); + result.setUsername(userName); + result.setPassword(password); + return result; + } + } diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/AsymmetricKeyCredentialsExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/AsymmetricKeyCredentialsExt.java deleted file mode 100644 index 8180a8b6c626d55e27e97b5e7c9cadd491c8d14d..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/AsymmetricKeyCredentialsExt.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - * AsymmetricKeyCredentialsExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class AsymmetricKeyCredentialsExt extends cz.it4i.fiji.haas_java_client.proxy.AuthenticationCredentialsExt implements java.io.Serializable { - private java.lang.String privateKey; - - private java.lang.String publicKey; - - public AsymmetricKeyCredentialsExt() { - } - - public AsymmetricKeyCredentialsExt( - java.lang.String username, - java.lang.String privateKey, - java.lang.String publicKey) { - super( - username); - this.privateKey = privateKey; - this.publicKey = publicKey; - } - - - /** - * Gets the privateKey value for this AsymmetricKeyCredentialsExt. - * - * @return privateKey - */ - public java.lang.String getPrivateKey() { - return privateKey; - } - - - /** - * Sets the privateKey value for this AsymmetricKeyCredentialsExt. - * - * @param privateKey - */ - public void setPrivateKey(java.lang.String privateKey) { - this.privateKey = privateKey; - } - - - /** - * Gets the publicKey value for this AsymmetricKeyCredentialsExt. - * - * @return publicKey - */ - public java.lang.String getPublicKey() { - return publicKey; - } - - - /** - * Sets the publicKey value for this AsymmetricKeyCredentialsExt. - * - * @param publicKey - */ - public void setPublicKey(java.lang.String publicKey) { - this.publicKey = publicKey; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof AsymmetricKeyCredentialsExt)) return false; - AsymmetricKeyCredentialsExt other = (AsymmetricKeyCredentialsExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.privateKey==null && other.getPrivateKey()==null) || - (this.privateKey!=null && - this.privateKey.equals(other.getPrivateKey()))) && - ((this.publicKey==null && other.getPublicKey()==null) || - (this.publicKey!=null && - this.publicKey.equals(other.getPublicKey()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getPrivateKey() != null) { - _hashCode += getPrivateKey().hashCode(); - } - if (getPublicKey() != null) { - _hashCode += getPublicKey().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(AsymmetricKeyCredentialsExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AsymmetricKeyCredentialsExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("privateKey"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "privateKey")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("publicKey"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "publicKey")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/AuthenticationCredentialsExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/AuthenticationCredentialsExt.java deleted file mode 100644 index 781139084396232260b2eb913c1a1795b0f95d83..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/AuthenticationCredentialsExt.java +++ /dev/null @@ -1,120 +0,0 @@ -/** - * AuthenticationCredentialsExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class AuthenticationCredentialsExt implements java.io.Serializable { - private java.lang.String username; - - public AuthenticationCredentialsExt() { - } - - public AuthenticationCredentialsExt( - java.lang.String username) { - this.username = username; - } - - - /** - * Gets the username value for this AuthenticationCredentialsExt. - * - * @return username - */ - public java.lang.String getUsername() { - return username; - } - - - /** - * Sets the username value for this AuthenticationCredentialsExt. - * - * @param username - */ - public void setUsername(java.lang.String username) { - this.username = username; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof AuthenticationCredentialsExt)) return false; - AuthenticationCredentialsExt other = (AuthenticationCredentialsExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.username==null && other.getUsername()==null) || - (this.username!=null && - this.username.equals(other.getUsername()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getUsername() != null) { - _hashCode += getUsername().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(AuthenticationCredentialsExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AuthenticationCredentialsExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("username"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "username")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/ClusterNodeTypeExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/ClusterNodeTypeExt.java deleted file mode 100644 index e63b927c85aad78208a6d104a7512f71bbbbf47f..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/ClusterNodeTypeExt.java +++ /dev/null @@ -1,347 +0,0 @@ -/** - * ClusterNodeTypeExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class ClusterNodeTypeExt implements java.io.Serializable { - private java.lang.Long id; - - private java.lang.String name; - - private java.lang.String description; - - private java.lang.Integer numberOfNodes; - - private java.lang.Integer coresPerNode; - - private java.lang.Integer maxWalltime; - - private cz.it4i.fiji.haas_java_client.proxy.CommandTemplateExt[] possibleCommands; - - public ClusterNodeTypeExt() { - } - - public ClusterNodeTypeExt( - java.lang.Long id, - java.lang.String name, - java.lang.String description, - java.lang.Integer numberOfNodes, - java.lang.Integer coresPerNode, - java.lang.Integer maxWalltime, - cz.it4i.fiji.haas_java_client.proxy.CommandTemplateExt[] possibleCommands) { - this.id = id; - this.name = name; - this.description = description; - this.numberOfNodes = numberOfNodes; - this.coresPerNode = coresPerNode; - this.maxWalltime = maxWalltime; - this.possibleCommands = possibleCommands; - } - - - /** - * Gets the id value for this ClusterNodeTypeExt. - * - * @return id - */ - public java.lang.Long getId() { - return id; - } - - - /** - * Sets the id value for this ClusterNodeTypeExt. - * - * @param id - */ - public void setId(java.lang.Long id) { - this.id = id; - } - - - /** - * Gets the name value for this ClusterNodeTypeExt. - * - * @return name - */ - public java.lang.String getName() { - return name; - } - - - /** - * Sets the name value for this ClusterNodeTypeExt. - * - * @param name - */ - public void setName(java.lang.String name) { - this.name = name; - } - - - /** - * Gets the description value for this ClusterNodeTypeExt. - * - * @return description - */ - public java.lang.String getDescription() { - return description; - } - - - /** - * Sets the description value for this ClusterNodeTypeExt. - * - * @param description - */ - public void setDescription(java.lang.String description) { - this.description = description; - } - - - /** - * Gets the numberOfNodes value for this ClusterNodeTypeExt. - * - * @return numberOfNodes - */ - public java.lang.Integer getNumberOfNodes() { - return numberOfNodes; - } - - - /** - * Sets the numberOfNodes value for this ClusterNodeTypeExt. - * - * @param numberOfNodes - */ - public void setNumberOfNodes(java.lang.Integer numberOfNodes) { - this.numberOfNodes = numberOfNodes; - } - - - /** - * Gets the coresPerNode value for this ClusterNodeTypeExt. - * - * @return coresPerNode - */ - public java.lang.Integer getCoresPerNode() { - return coresPerNode; - } - - - /** - * Sets the coresPerNode value for this ClusterNodeTypeExt. - * - * @param coresPerNode - */ - public void setCoresPerNode(java.lang.Integer coresPerNode) { - this.coresPerNode = coresPerNode; - } - - - /** - * Gets the maxWalltime value for this ClusterNodeTypeExt. - * - * @return maxWalltime - */ - public java.lang.Integer getMaxWalltime() { - return maxWalltime; - } - - - /** - * Sets the maxWalltime value for this ClusterNodeTypeExt. - * - * @param maxWalltime - */ - public void setMaxWalltime(java.lang.Integer maxWalltime) { - this.maxWalltime = maxWalltime; - } - - - /** - * Gets the possibleCommands value for this ClusterNodeTypeExt. - * - * @return possibleCommands - */ - public cz.it4i.fiji.haas_java_client.proxy.CommandTemplateExt[] getPossibleCommands() { - return possibleCommands; - } - - - /** - * Sets the possibleCommands value for this ClusterNodeTypeExt. - * - * @param possibleCommands - */ - public void setPossibleCommands(cz.it4i.fiji.haas_java_client.proxy.CommandTemplateExt[] possibleCommands) { - this.possibleCommands = possibleCommands; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof ClusterNodeTypeExt)) return false; - ClusterNodeTypeExt other = (ClusterNodeTypeExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.id==null && other.getId()==null) || - (this.id!=null && - this.id.equals(other.getId()))) && - ((this.name==null && other.getName()==null) || - (this.name!=null && - this.name.equals(other.getName()))) && - ((this.description==null && other.getDescription()==null) || - (this.description!=null && - this.description.equals(other.getDescription()))) && - ((this.numberOfNodes==null && other.getNumberOfNodes()==null) || - (this.numberOfNodes!=null && - this.numberOfNodes.equals(other.getNumberOfNodes()))) && - ((this.coresPerNode==null && other.getCoresPerNode()==null) || - (this.coresPerNode!=null && - this.coresPerNode.equals(other.getCoresPerNode()))) && - ((this.maxWalltime==null && other.getMaxWalltime()==null) || - (this.maxWalltime!=null && - this.maxWalltime.equals(other.getMaxWalltime()))) && - ((this.possibleCommands==null && other.getPossibleCommands()==null) || - (this.possibleCommands!=null && - java.util.Arrays.equals(this.possibleCommands, other.getPossibleCommands()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getId() != null) { - _hashCode += getId().hashCode(); - } - if (getName() != null) { - _hashCode += getName().hashCode(); - } - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - if (getNumberOfNodes() != null) { - _hashCode += getNumberOfNodes().hashCode(); - } - if (getCoresPerNode() != null) { - _hashCode += getCoresPerNode().hashCode(); - } - if (getMaxWalltime() != null) { - _hashCode += getMaxWalltime().hashCode(); - } - if (getPossibleCommands() != null) { - for (int i=0; - i<java.lang.reflect.Array.getLength(getPossibleCommands()); - i++) { - java.lang.Object obj = java.lang.reflect.Array.get(getPossibleCommands(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(ClusterNodeTypeExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ClusterNodeTypeExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("description"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "description")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("numberOfNodes"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "numberOfNodes")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("coresPerNode"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "coresPerNode")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("maxWalltime"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "maxWalltime")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("possibleCommands"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "possibleCommands")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateExt")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateExt")); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/CommandTemplateExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/CommandTemplateExt.java deleted file mode 100644 index f0d01b794ea923c41e828dc38079616357dadce2..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/CommandTemplateExt.java +++ /dev/null @@ -1,276 +0,0 @@ -/** - * CommandTemplateExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class CommandTemplateExt implements java.io.Serializable { - private java.lang.Long id; - - private java.lang.String name; - - private java.lang.String description; - - private java.lang.String code; - - private cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterExt[] templateParameters; - - public CommandTemplateExt() { - } - - public CommandTemplateExt( - java.lang.Long id, - java.lang.String name, - java.lang.String description, - java.lang.String code, - cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterExt[] templateParameters) { - this.id = id; - this.name = name; - this.description = description; - this.code = code; - this.templateParameters = templateParameters; - } - - - /** - * Gets the id value for this CommandTemplateExt. - * - * @return id - */ - public java.lang.Long getId() { - return id; - } - - - /** - * Sets the id value for this CommandTemplateExt. - * - * @param id - */ - public void setId(java.lang.Long id) { - this.id = id; - } - - - /** - * Gets the name value for this CommandTemplateExt. - * - * @return name - */ - public java.lang.String getName() { - return name; - } - - - /** - * Sets the name value for this CommandTemplateExt. - * - * @param name - */ - public void setName(java.lang.String name) { - this.name = name; - } - - - /** - * Gets the description value for this CommandTemplateExt. - * - * @return description - */ - public java.lang.String getDescription() { - return description; - } - - - /** - * Sets the description value for this CommandTemplateExt. - * - * @param description - */ - public void setDescription(java.lang.String description) { - this.description = description; - } - - - /** - * Gets the code value for this CommandTemplateExt. - * - * @return code - */ - public java.lang.String getCode() { - return code; - } - - - /** - * Sets the code value for this CommandTemplateExt. - * - * @param code - */ - public void setCode(java.lang.String code) { - this.code = code; - } - - - /** - * Gets the templateParameters value for this CommandTemplateExt. - * - * @return templateParameters - */ - public cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterExt[] getTemplateParameters() { - return templateParameters; - } - - - /** - * Sets the templateParameters value for this CommandTemplateExt. - * - * @param templateParameters - */ - public void setTemplateParameters(cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterExt[] templateParameters) { - this.templateParameters = templateParameters; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CommandTemplateExt)) return false; - CommandTemplateExt other = (CommandTemplateExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.id==null && other.getId()==null) || - (this.id!=null && - this.id.equals(other.getId()))) && - ((this.name==null && other.getName()==null) || - (this.name!=null && - this.name.equals(other.getName()))) && - ((this.description==null && other.getDescription()==null) || - (this.description!=null && - this.description.equals(other.getDescription()))) && - ((this.code==null && other.getCode()==null) || - (this.code!=null && - this.code.equals(other.getCode()))) && - ((this.templateParameters==null && other.getTemplateParameters()==null) || - (this.templateParameters!=null && - java.util.Arrays.equals(this.templateParameters, other.getTemplateParameters()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getId() != null) { - _hashCode += getId().hashCode(); - } - if (getName() != null) { - _hashCode += getName().hashCode(); - } - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - if (getCode() != null) { - _hashCode += getCode().hashCode(); - } - if (getTemplateParameters() != null) { - for (int i=0; - i<java.lang.reflect.Array.getLength(getTemplateParameters()); - i++) { - java.lang.Object obj = java.lang.reflect.Array.get(getTemplateParameters(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(CommandTemplateExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("description"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "description")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("code"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "code")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("templateParameters"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "templateParameters")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterExt")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterExt")); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/CommandTemplateParameterExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/CommandTemplateParameterExt.java deleted file mode 100644 index 6e0bd0d91dd0a1636b9b329d0ab2bf3e6bdded65..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/CommandTemplateParameterExt.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * CommandTemplateParameterExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class CommandTemplateParameterExt implements java.io.Serializable { - private java.lang.String identifier; - - private java.lang.String description; - - public CommandTemplateParameterExt() { - } - - public CommandTemplateParameterExt( - java.lang.String identifier, - java.lang.String description) { - this.identifier = identifier; - this.description = description; - } - - - /** - * Gets the identifier value for this CommandTemplateParameterExt. - * - * @return identifier - */ - public java.lang.String getIdentifier() { - return identifier; - } - - - /** - * Sets the identifier value for this CommandTemplateParameterExt. - * - * @param identifier - */ - public void setIdentifier(java.lang.String identifier) { - this.identifier = identifier; - } - - - /** - * Gets the description value for this CommandTemplateParameterExt. - * - * @return description - */ - public java.lang.String getDescription() { - return description; - } - - - /** - * Sets the description value for this CommandTemplateParameterExt. - * - * @param description - */ - public void setDescription(java.lang.String description) { - this.description = description; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CommandTemplateParameterExt)) return false; - CommandTemplateParameterExt other = (CommandTemplateParameterExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.identifier==null && other.getIdentifier()==null) || - (this.identifier!=null && - this.identifier.equals(other.getIdentifier()))) && - ((this.description==null && other.getDescription()==null) || - (this.description!=null && - this.description.equals(other.getDescription()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getIdentifier() != null) { - _hashCode += getIdentifier().hashCode(); - } - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(CommandTemplateParameterExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("identifier"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "identifier")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("description"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "description")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/CommandTemplateParameterValueExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/CommandTemplateParameterValueExt.java deleted file mode 100644 index 6a7313686b078e9aae03ea2239a8ca5abb0aed93..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/CommandTemplateParameterValueExt.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * CommandTemplateParameterValueExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class CommandTemplateParameterValueExt implements java.io.Serializable { - private java.lang.String commandParameterIdentifier; - - private java.lang.String parameterValue; - - public CommandTemplateParameterValueExt() { - } - - public CommandTemplateParameterValueExt( - java.lang.String commandParameterIdentifier, - java.lang.String parameterValue) { - this.commandParameterIdentifier = commandParameterIdentifier; - this.parameterValue = parameterValue; - } - - - /** - * Gets the commandParameterIdentifier value for this CommandTemplateParameterValueExt. - * - * @return commandParameterIdentifier - */ - public java.lang.String getCommandParameterIdentifier() { - return commandParameterIdentifier; - } - - - /** - * Sets the commandParameterIdentifier value for this CommandTemplateParameterValueExt. - * - * @param commandParameterIdentifier - */ - public void setCommandParameterIdentifier(java.lang.String commandParameterIdentifier) { - this.commandParameterIdentifier = commandParameterIdentifier; - } - - - /** - * Gets the parameterValue value for this CommandTemplateParameterValueExt. - * - * @return parameterValue - */ - public java.lang.String getParameterValue() { - return parameterValue; - } - - - /** - * Sets the parameterValue value for this CommandTemplateParameterValueExt. - * - * @param parameterValue - */ - public void setParameterValue(java.lang.String parameterValue) { - this.parameterValue = parameterValue; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CommandTemplateParameterValueExt)) return false; - CommandTemplateParameterValueExt other = (CommandTemplateParameterValueExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.commandParameterIdentifier==null && other.getCommandParameterIdentifier()==null) || - (this.commandParameterIdentifier!=null && - this.commandParameterIdentifier.equals(other.getCommandParameterIdentifier()))) && - ((this.parameterValue==null && other.getParameterValue()==null) || - (this.parameterValue!=null && - this.parameterValue.equals(other.getParameterValue()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getCommandParameterIdentifier() != null) { - _hashCode += getCommandParameterIdentifier().hashCode(); - } - if (getParameterValue() != null) { - _hashCode += getParameterValue().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(CommandTemplateParameterValueExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterValueExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("commandParameterIdentifier"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "commandParameterIdentifier")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("parameterValue"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "parameterValue")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferMethodExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferMethodExt.java deleted file mode 100644 index fc37a5378f829d7b9b3b496764a2ac2a3c0c0bfa..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferMethodExt.java +++ /dev/null @@ -1,201 +0,0 @@ -/** - * DataTransferMethodExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class DataTransferMethodExt implements java.io.Serializable { - private java.lang.Long submittedJobId; - - private byte[] ipAddress; - - private java.lang.Integer port; - - public DataTransferMethodExt() { - } - - public DataTransferMethodExt( - java.lang.Long submittedJobId, - byte[] ipAddress, - java.lang.Integer port) { - this.submittedJobId = submittedJobId; - this.ipAddress = ipAddress; - this.port = port; - } - - - /** - * Gets the submittedJobId value for this DataTransferMethodExt. - * - * @return submittedJobId - */ - public java.lang.Long getSubmittedJobId() { - return submittedJobId; - } - - - /** - * Sets the submittedJobId value for this DataTransferMethodExt. - * - * @param submittedJobId - */ - public void setSubmittedJobId(java.lang.Long submittedJobId) { - this.submittedJobId = submittedJobId; - } - - - /** - * Gets the ipAddress value for this DataTransferMethodExt. - * - * @return ipAddress - */ - public byte[] getIpAddress() { - return ipAddress; - } - - - /** - * Sets the ipAddress value for this DataTransferMethodExt. - * - * @param ipAddress - */ - public void setIpAddress(byte[] ipAddress) { - this.ipAddress = ipAddress; - } - - - /** - * Gets the port value for this DataTransferMethodExt. - * - * @return port - */ - public java.lang.Integer getPort() { - return port; - } - - - /** - * Sets the port value for this DataTransferMethodExt. - * - * @param port - */ - public void setPort(java.lang.Integer port) { - this.port = port; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof DataTransferMethodExt)) return false; - DataTransferMethodExt other = (DataTransferMethodExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.submittedJobId==null && other.getSubmittedJobId()==null) || - (this.submittedJobId!=null && - this.submittedJobId.equals(other.getSubmittedJobId()))) && - ((this.ipAddress==null && other.getIpAddress()==null) || - (this.ipAddress!=null && - java.util.Arrays.equals(this.ipAddress, other.getIpAddress()))) && - ((this.port==null && other.getPort()==null) || - (this.port!=null && - this.port.equals(other.getPort()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getSubmittedJobId() != null) { - _hashCode += getSubmittedJobId().hashCode(); - } - if (getIpAddress() != null) { - for (int i=0; - i<java.lang.reflect.Array.getLength(getIpAddress()); - i++) { - java.lang.Object obj = java.lang.reflect.Array.get(getIpAddress(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - if (getPort() != null) { - _hashCode += getPort().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(DataTransferMethodExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DataTransferMethodExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("submittedJobId"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobId")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ipAddress"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ipAddress")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "byte")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "byte")); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("port"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "port")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWs.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWs.java deleted file mode 100644 index 9ab8487ff8e42dc78b2c2167942939e569c7f2c7..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWs.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - * DataTransferWs.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public interface DataTransferWs extends javax.xml.rpc.Service { - public java.lang.String getDataTransferWsSoapAddress(); - - public cz.it4i.fiji.haas_java_client.proxy.DataTransferWsSoap getDataTransferWsSoap() throws javax.xml.rpc.ServiceException; - - public cz.it4i.fiji.haas_java_client.proxy.DataTransferWsSoap getDataTransferWsSoap(java.net.URL portAddress) throws javax.xml.rpc.ServiceException; -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsLocator.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsLocator.java deleted file mode 100644 index 40d2bbabb680ea7d0f4066b024802507e51610aa..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsLocator.java +++ /dev/null @@ -1,142 +0,0 @@ -/** - * DataTransferWsLocator.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class DataTransferWsLocator extends org.apache.axis.client.Service implements cz.it4i.fiji.haas_java_client.proxy.DataTransferWs { - - public DataTransferWsLocator() { - } - - - public DataTransferWsLocator(org.apache.axis.EngineConfiguration config) { - super(config); - } - - public DataTransferWsLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException { - super(wsdlLoc, sName); - } - - // Use to get a proxy class for DataTransferWsSoap - private java.lang.String DataTransferWsSoap_address = "http://haas.vsb.cz/HaasWsFiji/DataTransferWs.asmx"; - - public java.lang.String getDataTransferWsSoapAddress() { - return DataTransferWsSoap_address; - } - - // The WSDD service name defaults to the port name. - private java.lang.String DataTransferWsSoapWSDDServiceName = "DataTransferWsSoap"; - - public java.lang.String getDataTransferWsSoapWSDDServiceName() { - return DataTransferWsSoapWSDDServiceName; - } - - public void setDataTransferWsSoapWSDDServiceName(java.lang.String name) { - DataTransferWsSoapWSDDServiceName = name; - } - - public cz.it4i.fiji.haas_java_client.proxy.DataTransferWsSoap getDataTransferWsSoap() throws javax.xml.rpc.ServiceException { - java.net.URL endpoint; - try { - endpoint = new java.net.URL(DataTransferWsSoap_address); - } - catch (java.net.MalformedURLException e) { - throw new javax.xml.rpc.ServiceException(e); - } - return getDataTransferWsSoap(endpoint); - } - - public cz.it4i.fiji.haas_java_client.proxy.DataTransferWsSoap getDataTransferWsSoap(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { - try { - cz.it4i.fiji.haas_java_client.proxy.DataTransferWsSoapStub _stub = new cz.it4i.fiji.haas_java_client.proxy.DataTransferWsSoapStub(portAddress, this); - _stub.setPortName(getDataTransferWsSoapWSDDServiceName()); - return _stub; - } - catch (org.apache.axis.AxisFault e) { - return null; - } - } - - public void setDataTransferWsSoapEndpointAddress(java.lang.String address) { - DataTransferWsSoap_address = address; - } - - /** - * For the given interface, get the stub implementation. - * If this service has no port for the given interface, - * then ServiceException is thrown. - */ - public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { - try { - if (cz.it4i.fiji.haas_java_client.proxy.DataTransferWsSoap.class.isAssignableFrom(serviceEndpointInterface)) { - cz.it4i.fiji.haas_java_client.proxy.DataTransferWsSoapStub _stub = new cz.it4i.fiji.haas_java_client.proxy.DataTransferWsSoapStub(new java.net.URL(DataTransferWsSoap_address), this); - _stub.setPortName(getDataTransferWsSoapWSDDServiceName()); - return _stub; - } - } - catch (java.lang.Throwable t) { - throw new javax.xml.rpc.ServiceException(t); - } - throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); - } - - /** - * For the given interface, get the stub implementation. - * If this service has no port for the given interface, - * then ServiceException is thrown. - */ - public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { - if (portName == null) { - return getPort(serviceEndpointInterface); - } - java.lang.String inputPortName = portName.getLocalPart(); - if ("DataTransferWsSoap".equals(inputPortName)) { - return getDataTransferWsSoap(); - } - else { - java.rmi.Remote _stub = getPort(serviceEndpointInterface); - ((org.apache.axis.client.Stub) _stub).setPortName(portName); - return _stub; - } - } - - public javax.xml.namespace.QName getServiceName() { - return new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DataTransferWs"); - } - - private java.util.HashSet ports = null; - - public java.util.Iterator getPorts() { - if (ports == null) { - ports = new java.util.HashSet(); - ports.add(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DataTransferWsSoap")); - } - return ports.iterator(); - } - - /** - * Set the endpoint address for the specified port name. - */ - public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException { - -if ("DataTransferWsSoap".equals(portName)) { - setDataTransferWsSoapEndpointAddress(address); - } - else -{ // Unknown Port Name - throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName); - } - } - - /** - * Set the endpoint address for the specified port name. - */ - public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException { - setEndpointAddress(portName.getLocalPart(), address); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsSoap.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsSoap.java deleted file mode 100644 index a9491ab752a0fbedba8bed3e414305a13fe171e1..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsSoap.java +++ /dev/null @@ -1,15 +0,0 @@ -/** - * DataTransferWsSoap.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public interface DataTransferWsSoap extends java.rmi.Remote { - public cz.it4i.fiji.haas_java_client.proxy.DataTransferMethodExt getDataTransferMethod(byte[] ipAddress, int port, long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException; - public void endDataTransfer(cz.it4i.fiji.haas_java_client.proxy.DataTransferMethodExt usedTransferMethod, java.lang.String sessionCode) throws java.rmi.RemoteException; - public void sendDataToJob(byte[] data, long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException; - public java.lang.String readDataFromJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException; -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsSoapProxy.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsSoapProxy.java deleted file mode 100644 index d2e3be8e01373277bfd7c4edd6ce295fb8d413fd..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsSoapProxy.java +++ /dev/null @@ -1,72 +0,0 @@ -package cz.it4i.fiji.haas_java_client.proxy; - -public class DataTransferWsSoapProxy implements cz.it4i.fiji.haas_java_client.proxy.DataTransferWsSoap { - private String _endpoint = null; - private cz.it4i.fiji.haas_java_client.proxy.DataTransferWsSoap dataTransferWsSoap = null; - - public DataTransferWsSoapProxy() { - _initDataTransferWsSoapProxy(); - } - - public DataTransferWsSoapProxy(String endpoint) { - _endpoint = endpoint; - _initDataTransferWsSoapProxy(); - } - - private void _initDataTransferWsSoapProxy() { - try { - dataTransferWsSoap = (new cz.it4i.fiji.haas_java_client.proxy.DataTransferWsLocator()).getDataTransferWsSoap(); - if (dataTransferWsSoap != null) { - if (_endpoint != null) - ((javax.xml.rpc.Stub)dataTransferWsSoap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); - else - _endpoint = (String)((javax.xml.rpc.Stub)dataTransferWsSoap)._getProperty("javax.xml.rpc.service.endpoint.address"); - } - - } - catch (javax.xml.rpc.ServiceException serviceException) {} - } - - public String getEndpoint() { - return _endpoint; - } - - public void setEndpoint(String endpoint) { - _endpoint = endpoint; - if (dataTransferWsSoap != null) - ((javax.xml.rpc.Stub)dataTransferWsSoap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); - - } - - public cz.it4i.fiji.haas_java_client.proxy.DataTransferWsSoap getDataTransferWsSoap() { - if (dataTransferWsSoap == null) - _initDataTransferWsSoapProxy(); - return dataTransferWsSoap; - } - - public cz.it4i.fiji.haas_java_client.proxy.DataTransferMethodExt getDataTransferMethod(byte[] ipAddress, int port, long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (dataTransferWsSoap == null) - _initDataTransferWsSoapProxy(); - return dataTransferWsSoap.getDataTransferMethod(ipAddress, port, submittedJobInfoId, sessionCode); - } - - public void endDataTransfer(cz.it4i.fiji.haas_java_client.proxy.DataTransferMethodExt usedTransferMethod, java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (dataTransferWsSoap == null) - _initDataTransferWsSoapProxy(); - dataTransferWsSoap.endDataTransfer(usedTransferMethod, sessionCode); - } - - public void sendDataToJob(byte[] data, long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (dataTransferWsSoap == null) - _initDataTransferWsSoapProxy(); - dataTransferWsSoap.sendDataToJob(data, submittedJobInfoId, sessionCode); - } - - public java.lang.String readDataFromJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (dataTransferWsSoap == null) - _initDataTransferWsSoapProxy(); - return dataTransferWsSoap.readDataFromJob(submittedJobInfoId, sessionCode); - } - - -} \ No newline at end of file diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsSoapStub.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsSoapStub.java deleted file mode 100644 index 74ad769bc3c72bba3e127a6370c30505223212e4..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DataTransferWsSoapStub.java +++ /dev/null @@ -1,322 +0,0 @@ -/** - * DataTransferWsSoapStub.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class DataTransferWsSoapStub extends org.apache.axis.client.Stub implements cz.it4i.fiji.haas_java_client.proxy.DataTransferWsSoap { - private java.util.Vector cachedSerClasses = new java.util.Vector(); - private java.util.Vector cachedSerQNames = new java.util.Vector(); - private java.util.Vector cachedSerFactories = new java.util.Vector(); - private java.util.Vector cachedDeserFactories = new java.util.Vector(); - - static org.apache.axis.description.OperationDesc [] _operations; - - static { - _operations = new org.apache.axis.description.OperationDesc[4]; - _initOperationDesc1(); - } - - private static void _initOperationDesc1(){ - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("GetDataTransferMethod"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ipAddress"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "base64Binary"), byte[].class, false, false); - param.setOmittable(true); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "port"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DataTransferMethodExt")); - oper.setReturnClass(cz.it4i.fiji.haas_java_client.proxy.DataTransferMethodExt.class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "GetDataTransferMethodResult")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[0] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("EndDataTransfer"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "usedTransferMethod"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DataTransferMethodExt"), cz.it4i.fiji.haas_java_client.proxy.DataTransferMethodExt.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[1] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("SendDataToJob"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "data"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "base64Binary"), byte[].class, false, false); - param.setOmittable(true); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[2] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("ReadDataFromJob"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - oper.setReturnClass(java.lang.String.class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ReadDataFromJobResult")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[3] = oper; - - } - - public DataTransferWsSoapStub() throws org.apache.axis.AxisFault { - this(null); - } - - public DataTransferWsSoapStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - this(service); - super.cachedEndpoint = endpointURL; - } - - public DataTransferWsSoapStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - if (service == null) { - super.service = new org.apache.axis.client.Service(); - } else { - super.service = service; - } - ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2"); - java.lang.Class cls; - javax.xml.namespace.QName qName; - javax.xml.namespace.QName qName2; - java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; - java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; - java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; - java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; - java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; - java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; - java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; - java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; - java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; - java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfByte"); - cachedSerQNames.add(qName); - cls = byte[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "byte"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "byte"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DataTransferMethodExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.DataTransferMethodExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - } - - protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException { - try { - org.apache.axis.client.Call _call = super._createCall(); - if (super.maintainSessionSet) { - _call.setMaintainSession(super.maintainSession); - } - if (super.cachedUsername != null) { - _call.setUsername(super.cachedUsername); - } - if (super.cachedPassword != null) { - _call.setPassword(super.cachedPassword); - } - if (super.cachedEndpoint != null) { - _call.setTargetEndpointAddress(super.cachedEndpoint); - } - if (super.cachedTimeout != null) { - _call.setTimeout(super.cachedTimeout); - } - if (super.cachedPortName != null) { - _call.setPortName(super.cachedPortName); - } - java.util.Enumeration keys = super.cachedProperties.keys(); - while (keys.hasMoreElements()) { - java.lang.String key = (java.lang.String) keys.nextElement(); - _call.setProperty(key, super.cachedProperties.get(key)); - } - // All the type mapping information is registered - // when the first call is made. - // The type mapping information is actually registered in - // the TypeMappingRegistry of the service, which - // is the reason why registration is only needed for the first call. - synchronized (this) { - if (firstCall()) { - // must set encoding style before registering serializers - _call.setEncodingStyle(null); - for (int i = 0; i < cachedSerFactories.size(); ++i) { - java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i); - javax.xml.namespace.QName qName = - (javax.xml.namespace.QName) cachedSerQNames.get(i); - java.lang.Object x = cachedSerFactories.get(i); - if (x instanceof Class) { - java.lang.Class sf = (java.lang.Class) - cachedSerFactories.get(i); - java.lang.Class df = (java.lang.Class) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) { - org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) - cachedSerFactories.get(i); - org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - } - } - } - return _call; - } - catch (java.lang.Throwable _t) { - throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); - } - } - - public cz.it4i.fiji.haas_java_client.proxy.DataTransferMethodExt getDataTransferMethod(byte[] ipAddress, int port, long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[0]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/GetDataTransferMethod"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "GetDataTransferMethod")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {ipAddress, new java.lang.Integer(port), new java.lang.Long(submittedJobInfoId), sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (cz.it4i.fiji.haas_java_client.proxy.DataTransferMethodExt) _resp; - } catch (java.lang.Exception _exception) { - return (cz.it4i.fiji.haas_java_client.proxy.DataTransferMethodExt) org.apache.axis.utils.JavaUtils.convert(_resp, cz.it4i.fiji.haas_java_client.proxy.DataTransferMethodExt.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public void endDataTransfer(cz.it4i.fiji.haas_java_client.proxy.DataTransferMethodExt usedTransferMethod, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[1]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/EndDataTransfer"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "EndDataTransfer")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {usedTransferMethod, sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public void sendDataToJob(byte[] data, long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[2]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/SendDataToJob"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SendDataToJob")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {data, new java.lang.Long(submittedJobInfoId), sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public java.lang.String readDataFromJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[3]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/ReadDataFromJob"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ReadDataFromJob")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(submittedJobInfoId), sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (java.lang.String) _resp; - } catch (java.lang.Exception _exception) { - return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DigitalSignatureCredentialsExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DigitalSignatureCredentialsExt.java deleted file mode 100644 index 835799343f2c1450362db57687b8a7c1184e2df4..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/DigitalSignatureCredentialsExt.java +++ /dev/null @@ -1,169 +0,0 @@ -/** - * DigitalSignatureCredentialsExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class DigitalSignatureCredentialsExt extends cz.it4i.fiji.haas_java_client.proxy.AuthenticationCredentialsExt implements java.io.Serializable { - private java.lang.String noise; - - private byte[] digitalSignature; - - public DigitalSignatureCredentialsExt() { - } - - public DigitalSignatureCredentialsExt( - java.lang.String username, - java.lang.String noise, - byte[] digitalSignature) { - super( - username); - this.noise = noise; - this.digitalSignature = digitalSignature; - } - - - /** - * Gets the noise value for this DigitalSignatureCredentialsExt. - * - * @return noise - */ - public java.lang.String getNoise() { - return noise; - } - - - /** - * Sets the noise value for this DigitalSignatureCredentialsExt. - * - * @param noise - */ - public void setNoise(java.lang.String noise) { - this.noise = noise; - } - - - /** - * Gets the digitalSignature value for this DigitalSignatureCredentialsExt. - * - * @return digitalSignature - */ - public byte[] getDigitalSignature() { - return digitalSignature; - } - - - /** - * Sets the digitalSignature value for this DigitalSignatureCredentialsExt. - * - * @param digitalSignature - */ - public void setDigitalSignature(byte[] digitalSignature) { - this.digitalSignature = digitalSignature; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof DigitalSignatureCredentialsExt)) return false; - DigitalSignatureCredentialsExt other = (DigitalSignatureCredentialsExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.noise==null && other.getNoise()==null) || - (this.noise!=null && - this.noise.equals(other.getNoise()))) && - ((this.digitalSignature==null && other.getDigitalSignature()==null) || - (this.digitalSignature!=null && - java.util.Arrays.equals(this.digitalSignature, other.getDigitalSignature()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getNoise() != null) { - _hashCode += getNoise().hashCode(); - } - if (getDigitalSignature() != null) { - for (int i=0; - i<java.lang.reflect.Array.getLength(getDigitalSignature()); - i++) { - java.lang.Object obj = java.lang.reflect.Array.get(getDigitalSignature(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(DigitalSignatureCredentialsExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DigitalSignatureCredentialsExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("noise"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "noise")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("digitalSignature"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "digitalSignature")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "byte")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "byte")); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/EnvironmentVariableExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/EnvironmentVariableExt.java deleted file mode 100644 index 21e4e2e7615372f185d58129e1f6ffb8e232becc..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/EnvironmentVariableExt.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * EnvironmentVariableExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class EnvironmentVariableExt implements java.io.Serializable { - private java.lang.String name; - - private java.lang.String value; - - public EnvironmentVariableExt() { - } - - public EnvironmentVariableExt( - java.lang.String name, - java.lang.String value) { - this.name = name; - this.value = value; - } - - - /** - * Gets the name value for this EnvironmentVariableExt. - * - * @return name - */ - public java.lang.String getName() { - return name; - } - - - /** - * Sets the name value for this EnvironmentVariableExt. - * - * @param name - */ - public void setName(java.lang.String name) { - this.name = name; - } - - - /** - * Gets the value value for this EnvironmentVariableExt. - * - * @return value - */ - public java.lang.String getValue() { - return value; - } - - - /** - * Sets the value value for this EnvironmentVariableExt. - * - * @param value - */ - public void setValue(java.lang.String value) { - this.value = value; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof EnvironmentVariableExt)) return false; - EnvironmentVariableExt other = (EnvironmentVariableExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.name==null && other.getName()==null) || - (this.name!=null && - this.name.equals(other.getName()))) && - ((this.value==null && other.getValue()==null) || - (this.value!=null && - this.value.equals(other.getValue()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getName() != null) { - _hashCode += getName().hashCode(); - } - if (getValue() != null) { - _hashCode += getValue().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(EnvironmentVariableExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "EnvironmentVariableExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("value"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "value")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferMethodExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferMethodExt.java deleted file mode 100644 index ef88a88b0408cc3eb8b17d9dc91b6297790122e8..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferMethodExt.java +++ /dev/null @@ -1,230 +0,0 @@ -/** - * FileTransferMethodExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class FileTransferMethodExt implements java.io.Serializable { - private java.lang.String serverHostname; - - private java.lang.String sharedBasepath; - - private cz.it4i.fiji.haas_java_client.proxy.FileTransferProtocolExt protocol; - - private cz.it4i.fiji.haas_java_client.proxy.AsymmetricKeyCredentialsExt credentials; - - public FileTransferMethodExt() { - } - - public FileTransferMethodExt( - java.lang.String serverHostname, - java.lang.String sharedBasepath, - cz.it4i.fiji.haas_java_client.proxy.FileTransferProtocolExt protocol, - cz.it4i.fiji.haas_java_client.proxy.AsymmetricKeyCredentialsExt credentials) { - this.serverHostname = serverHostname; - this.sharedBasepath = sharedBasepath; - this.protocol = protocol; - this.credentials = credentials; - } - - - /** - * Gets the serverHostname value for this FileTransferMethodExt. - * - * @return serverHostname - */ - public java.lang.String getServerHostname() { - return serverHostname; - } - - - /** - * Sets the serverHostname value for this FileTransferMethodExt. - * - * @param serverHostname - */ - public void setServerHostname(java.lang.String serverHostname) { - this.serverHostname = serverHostname; - } - - - /** - * Gets the sharedBasepath value for this FileTransferMethodExt. - * - * @return sharedBasepath - */ - public java.lang.String getSharedBasepath() { - return sharedBasepath; - } - - - /** - * Sets the sharedBasepath value for this FileTransferMethodExt. - * - * @param sharedBasepath - */ - public void setSharedBasepath(java.lang.String sharedBasepath) { - this.sharedBasepath = sharedBasepath; - } - - - /** - * Gets the protocol value for this FileTransferMethodExt. - * - * @return protocol - */ - public cz.it4i.fiji.haas_java_client.proxy.FileTransferProtocolExt getProtocol() { - return protocol; - } - - - /** - * Sets the protocol value for this FileTransferMethodExt. - * - * @param protocol - */ - public void setProtocol(cz.it4i.fiji.haas_java_client.proxy.FileTransferProtocolExt protocol) { - this.protocol = protocol; - } - - - /** - * Gets the credentials value for this FileTransferMethodExt. - * - * @return credentials - */ - public cz.it4i.fiji.haas_java_client.proxy.AsymmetricKeyCredentialsExt getCredentials() { - return credentials; - } - - - /** - * Sets the credentials value for this FileTransferMethodExt. - * - * @param credentials - */ - public void setCredentials(cz.it4i.fiji.haas_java_client.proxy.AsymmetricKeyCredentialsExt credentials) { - this.credentials = credentials; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof FileTransferMethodExt)) return false; - FileTransferMethodExt other = (FileTransferMethodExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.serverHostname==null && other.getServerHostname()==null) || - (this.serverHostname!=null && - this.serverHostname.equals(other.getServerHostname()))) && - ((this.sharedBasepath==null && other.getSharedBasepath()==null) || - (this.sharedBasepath!=null && - this.sharedBasepath.equals(other.getSharedBasepath()))) && - ((this.protocol==null && other.getProtocol()==null) || - (this.protocol!=null && - this.protocol.equals(other.getProtocol()))) && - ((this.credentials==null && other.getCredentials()==null) || - (this.credentials!=null && - this.credentials.equals(other.getCredentials()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getServerHostname() != null) { - _hashCode += getServerHostname().hashCode(); - } - if (getSharedBasepath() != null) { - _hashCode += getSharedBasepath().hashCode(); - } - if (getProtocol() != null) { - _hashCode += getProtocol().hashCode(); - } - if (getCredentials() != null) { - _hashCode += getCredentials().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(FileTransferMethodExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "FileTransferMethodExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("serverHostname"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "serverHostname")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("sharedBasepath"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sharedBasepath")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("protocol"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "protocol")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "FileTransferProtocolExt")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("credentials"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "credentials")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AsymmetricKeyCredentialsExt")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferProtocolExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferProtocolExt.java deleted file mode 100644 index ae7126c365a3501f10e2b0c0ce2029647264c957..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferProtocolExt.java +++ /dev/null @@ -1,70 +0,0 @@ -/** - * FileTransferProtocolExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class FileTransferProtocolExt implements java.io.Serializable { - private java.lang.String _value_; - private static java.util.HashMap _table_ = new java.util.HashMap(); - - // Constructor - protected FileTransferProtocolExt(java.lang.String value) { - _value_ = value; - _table_.put(_value_,this); - } - - public static final java.lang.String _NetworkShare = "NetworkShare"; - public static final java.lang.String _SftpScp = "SftpScp"; - public static final FileTransferProtocolExt NetworkShare = new FileTransferProtocolExt(_NetworkShare); - public static final FileTransferProtocolExt SftpScp = new FileTransferProtocolExt(_SftpScp); - public java.lang.String getValue() { return _value_;} - public static FileTransferProtocolExt fromValue(java.lang.String value) - throws java.lang.IllegalArgumentException { - FileTransferProtocolExt enumeration = (FileTransferProtocolExt) - _table_.get(value); - if (enumeration==null) throw new java.lang.IllegalArgumentException(); - return enumeration; - } - public static FileTransferProtocolExt fromString(java.lang.String value) - throws java.lang.IllegalArgumentException { - return fromValue(value); - } - public boolean equals(java.lang.Object obj) {return (obj == this);} - public int hashCode() { return toString().hashCode();} - public java.lang.String toString() { return _value_;} - public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);} - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.EnumSerializer( - _javaType, _xmlType); - } - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.EnumDeserializer( - _javaType, _xmlType); - } - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(FileTransferProtocolExt.class); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "FileTransferProtocolExt")); - } - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWs.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWs.java deleted file mode 100644 index 0a50309c81ec46e9eb9834b47df818175b50c4c0..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWs.java +++ /dev/null @@ -1,21 +0,0 @@ -/** - * FileTransferWs.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public interface FileTransferWs extends javax.xml.rpc.Service { - public java.lang.String getFileTransferWsSoapAddress(); - - public cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap getFileTransferWsSoap() throws javax.xml.rpc.ServiceException; - - public cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap getFileTransferWsSoap(java.net.URL portAddress) throws javax.xml.rpc.ServiceException; - public java.lang.String getFileTransferWsSoap12Address(); - - public cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap getFileTransferWsSoap12() throws javax.xml.rpc.ServiceException; - - public cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap getFileTransferWsSoap12(java.net.URL portAddress) throws javax.xml.rpc.ServiceException; -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsLocator.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsLocator.java deleted file mode 100644 index 265ada8778c08eb35fbbf6824b831ea677fac018..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsLocator.java +++ /dev/null @@ -1,202 +0,0 @@ -/** - * FileTransferWsLocator.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class FileTransferWsLocator extends org.apache.axis.client.Service implements cz.it4i.fiji.haas_java_client.proxy.FileTransferWs { - - public FileTransferWsLocator() { - } - - - public FileTransferWsLocator(org.apache.axis.EngineConfiguration config) { - super(config); - } - - public FileTransferWsLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException { - super(wsdlLoc, sName); - } - - // Use to get a proxy class for FileTransferWsSoap - private java.lang.String FileTransferWsSoap_address = "http://haas.vsb.cz/HaasWsFiji/FileTransferWs.asmx"; - - public java.lang.String getFileTransferWsSoapAddress() { - return FileTransferWsSoap_address; - } - - // The WSDD service name defaults to the port name. - private java.lang.String FileTransferWsSoapWSDDServiceName = "FileTransferWsSoap"; - - public java.lang.String getFileTransferWsSoapWSDDServiceName() { - return FileTransferWsSoapWSDDServiceName; - } - - public void setFileTransferWsSoapWSDDServiceName(java.lang.String name) { - FileTransferWsSoapWSDDServiceName = name; - } - - public cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap getFileTransferWsSoap() throws javax.xml.rpc.ServiceException { - java.net.URL endpoint; - try { - endpoint = new java.net.URL(FileTransferWsSoap_address); - } - catch (java.net.MalformedURLException e) { - throw new javax.xml.rpc.ServiceException(e); - } - return getFileTransferWsSoap(endpoint); - } - - public cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap getFileTransferWsSoap(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { - try { - cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoapStub _stub = new cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoapStub(portAddress, this); - _stub.setPortName(getFileTransferWsSoapWSDDServiceName()); - return _stub; - } - catch (org.apache.axis.AxisFault e) { - return null; - } - } - - public void setFileTransferWsSoapEndpointAddress(java.lang.String address) { - FileTransferWsSoap_address = address; - } - - - // Use to get a proxy class for FileTransferWsSoap12 - private java.lang.String FileTransferWsSoap12_address = "http://haas.vsb.cz/HaasWsFiji/FileTransferWs.asmx"; - - public java.lang.String getFileTransferWsSoap12Address() { - return FileTransferWsSoap12_address; - } - - // The WSDD service name defaults to the port name. - private java.lang.String FileTransferWsSoap12WSDDServiceName = "FileTransferWsSoap12"; - - public java.lang.String getFileTransferWsSoap12WSDDServiceName() { - return FileTransferWsSoap12WSDDServiceName; - } - - public void setFileTransferWsSoap12WSDDServiceName(java.lang.String name) { - FileTransferWsSoap12WSDDServiceName = name; - } - - public cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap getFileTransferWsSoap12() throws javax.xml.rpc.ServiceException { - java.net.URL endpoint; - try { - endpoint = new java.net.URL(FileTransferWsSoap12_address); - } - catch (java.net.MalformedURLException e) { - throw new javax.xml.rpc.ServiceException(e); - } - return getFileTransferWsSoap12(endpoint); - } - - public cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap getFileTransferWsSoap12(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { - try { - cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap12Stub _stub = new cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap12Stub(portAddress, this); - _stub.setPortName(getFileTransferWsSoap12WSDDServiceName()); - return _stub; - } - catch (org.apache.axis.AxisFault e) { - return null; - } - } - - public void setFileTransferWsSoap12EndpointAddress(java.lang.String address) { - FileTransferWsSoap12_address = address; - } - - /** - * For the given interface, get the stub implementation. - * If this service has no port for the given interface, - * then ServiceException is thrown. - * This service has multiple ports for a given interface; - * the proxy implementation returned may be indeterminate. - */ - public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { - try { - if (cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap.class.isAssignableFrom(serviceEndpointInterface)) { - cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoapStub _stub = new cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoapStub(new java.net.URL(FileTransferWsSoap_address), this); - _stub.setPortName(getFileTransferWsSoapWSDDServiceName()); - return _stub; - } - if (cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap.class.isAssignableFrom(serviceEndpointInterface)) { - cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap12Stub _stub = new cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap12Stub(new java.net.URL(FileTransferWsSoap12_address), this); - _stub.setPortName(getFileTransferWsSoap12WSDDServiceName()); - return _stub; - } - } - catch (java.lang.Throwable t) { - throw new javax.xml.rpc.ServiceException(t); - } - throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); - } - - /** - * For the given interface, get the stub implementation. - * If this service has no port for the given interface, - * then ServiceException is thrown. - */ - public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { - if (portName == null) { - return getPort(serviceEndpointInterface); - } - java.lang.String inputPortName = portName.getLocalPart(); - if ("FileTransferWsSoap".equals(inputPortName)) { - return getFileTransferWsSoap(); - } - else if ("FileTransferWsSoap12".equals(inputPortName)) { - return getFileTransferWsSoap12(); - } - else { - java.rmi.Remote _stub = getPort(serviceEndpointInterface); - ((org.apache.axis.client.Stub) _stub).setPortName(portName); - return _stub; - } - } - - public javax.xml.namespace.QName getServiceName() { - return new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "FileTransferWs"); - } - - private java.util.HashSet ports = null; - - public java.util.Iterator getPorts() { - if (ports == null) { - ports = new java.util.HashSet(); - ports.add(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "FileTransferWsSoap")); - ports.add(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "FileTransferWsSoap12")); - } - return ports.iterator(); - } - - /** - * Set the endpoint address for the specified port name. - */ - public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException { - -if ("FileTransferWsSoap".equals(portName)) { - setFileTransferWsSoapEndpointAddress(address); - } - else -if ("FileTransferWsSoap12".equals(portName)) { - setFileTransferWsSoap12EndpointAddress(address); - } - else -{ // Unknown Port Name - throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName); - } - } - - /** - * Set the endpoint address for the specified port name. - */ - public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException { - setEndpointAddress(portName.getLocalPart(), address); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoap.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoap.java deleted file mode 100644 index 241f1ebccfcb2c114913541ebbfc0f6689b17313..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoap.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - * FileTransferWsSoap.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public interface FileTransferWsSoap extends java.rmi.Remote { - public cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt getFileTransferMethod(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException; - public void endFileTransfer(long submittedJobInfoId, cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt usedTransferMethod, java.lang.String sessionCode) throws java.rmi.RemoteException; - public cz.it4i.fiji.haas_java_client.proxy.JobFileContentExt[] downloadPartsOfJobFilesFromCluster(long submittedJobInfoId, cz.it4i.fiji.haas_java_client.proxy.TaskFileOffsetExt[] taskFileOffsets, java.lang.String sessionCode) throws java.rmi.RemoteException; - public java.lang.String[] listChangedFilesForJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException; - public byte[] downloadFileFromCluster(long submittedJobInfoId, java.lang.String relativeFilePath, java.lang.String sessionCode) throws java.rmi.RemoteException; -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoap12Stub.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoap12Stub.java deleted file mode 100644 index 5c36993e5f2db3cd6786e79627068842b2a1c167..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoap12Stub.java +++ /dev/null @@ -1,444 +0,0 @@ -/** - * FileTransferWsSoap12Stub.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class FileTransferWsSoap12Stub extends org.apache.axis.client.Stub implements cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap { - private java.util.Vector cachedSerClasses = new java.util.Vector(); - private java.util.Vector cachedSerQNames = new java.util.Vector(); - private java.util.Vector cachedSerFactories = new java.util.Vector(); - private java.util.Vector cachedDeserFactories = new java.util.Vector(); - - static org.apache.axis.description.OperationDesc [] _operations; - - static { - _operations = new org.apache.axis.description.OperationDesc[5]; - _initOperationDesc1(); - } - - private static void _initOperationDesc1(){ - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("GetFileTransferMethod"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "FileTransferMethodExt")); - oper.setReturnClass(cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt.class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "GetFileTransferMethodResult")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[0] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("EndFileTransfer"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "usedTransferMethod"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "FileTransferMethodExt"), cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[1] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("DownloadPartsOfJobFilesFromCluster"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "taskFileOffsets"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfTaskFileOffsetExt"), cz.it4i.fiji.haas_java_client.proxy.TaskFileOffsetExt[].class, false, false); - param.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskFileOffsetExt")); - param.setOmittable(true); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfJobFileContentExt")); - oper.setReturnClass(JobFileContentExt[].class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DownloadPartsOfJobFilesFromClusterResult")); - param = oper.getReturnParamDesc(); - param.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobFileContentExt")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[2] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("ListChangedFilesForJob"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfString")); - oper.setReturnClass(java.lang.String[].class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ListChangedFilesForJobResult")); - param = oper.getReturnParamDesc(); - param.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "string")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[3] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("DownloadFileFromCluster"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "relativeFilePath"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "base64Binary")); - oper.setReturnClass(byte[].class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DownloadFileFromClusterResult")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[4] = oper; - - } - - public FileTransferWsSoap12Stub() throws org.apache.axis.AxisFault { - this(null); - } - - public FileTransferWsSoap12Stub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - this(service); - super.cachedEndpoint = endpointURL; - } - - public FileTransferWsSoap12Stub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - if (service == null) { - super.service = new org.apache.axis.client.Service(); - } else { - super.service = service; - } - ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2"); - java.lang.Class cls; - javax.xml.namespace.QName qName; - javax.xml.namespace.QName qName2; - java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; - java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; - java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; - java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; - java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; - java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; - java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; - java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; - java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; - java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfJobFileContentExt"); - cachedSerQNames.add(qName); - cls = JobFileContentExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobFileContentExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobFileContentExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfString"); - cachedSerQNames.add(qName); - cls = java.lang.String[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "string"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfTaskFileOffsetExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.TaskFileOffsetExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskFileOffsetExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskFileOffsetExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AsymmetricKeyCredentialsExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.AsymmetricKeyCredentialsExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AuthenticationCredentialsExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.AuthenticationCredentialsExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "FileTransferMethodExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "FileTransferProtocolExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.FileTransferProtocolExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(enumsf); - cachedDeserFactories.add(enumdf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobFileContentExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.JobFileContentExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SynchronizableFilesExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.SynchronizableFilesExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(enumsf); - cachedDeserFactories.add(enumdf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskFileOffsetExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.TaskFileOffsetExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - } - - protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException { - try { - org.apache.axis.client.Call _call = super._createCall(); - if (super.maintainSessionSet) { - _call.setMaintainSession(super.maintainSession); - } - if (super.cachedUsername != null) { - _call.setUsername(super.cachedUsername); - } - if (super.cachedPassword != null) { - _call.setPassword(super.cachedPassword); - } - if (super.cachedEndpoint != null) { - _call.setTargetEndpointAddress(super.cachedEndpoint); - } - if (super.cachedTimeout != null) { - _call.setTimeout(super.cachedTimeout); - } - if (super.cachedPortName != null) { - _call.setPortName(super.cachedPortName); - } - java.util.Enumeration keys = super.cachedProperties.keys(); - while (keys.hasMoreElements()) { - java.lang.String key = (java.lang.String) keys.nextElement(); - _call.setProperty(key, super.cachedProperties.get(key)); - } - // All the type mapping information is registered - // when the first call is made. - // The type mapping information is actually registered in - // the TypeMappingRegistry of the service, which - // is the reason why registration is only needed for the first call. - synchronized (this) { - if (firstCall()) { - // must set encoding style before registering serializers - _call.setEncodingStyle(null); - for (int i = 0; i < cachedSerFactories.size(); ++i) { - java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i); - javax.xml.namespace.QName qName = - (javax.xml.namespace.QName) cachedSerQNames.get(i); - java.lang.Object x = cachedSerFactories.get(i); - if (x instanceof Class) { - java.lang.Class sf = (java.lang.Class) - cachedSerFactories.get(i); - java.lang.Class df = (java.lang.Class) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) { - org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) - cachedSerFactories.get(i); - org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - } - } - } - return _call; - } - catch (java.lang.Throwable _t) { - throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); - } - } - - public cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt getFileTransferMethod(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[0]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/GetFileTransferMethod"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP12_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "GetFileTransferMethod")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(submittedJobInfoId), sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt) _resp; - } catch (java.lang.Exception _exception) { - return (cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt) org.apache.axis.utils.JavaUtils.convert(_resp, cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public void endFileTransfer(long submittedJobInfoId, cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt usedTransferMethod, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[1]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/EndFileTransfer"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP12_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "EndFileTransfer")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(submittedJobInfoId), usedTransferMethod, sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public cz.it4i.fiji.haas_java_client.proxy.JobFileContentExt[] downloadPartsOfJobFilesFromCluster(long submittedJobInfoId, cz.it4i.fiji.haas_java_client.proxy.TaskFileOffsetExt[] taskFileOffsets, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[2]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/DownloadPartsOfJobFilesFromCluster"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP12_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DownloadPartsOfJobFilesFromCluster")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(submittedJobInfoId), taskFileOffsets, sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (cz.it4i.fiji.haas_java_client.proxy.JobFileContentExt[]) _resp; - } catch (java.lang.Exception _exception) { - return (cz.it4i.fiji.haas_java_client.proxy.JobFileContentExt[]) org.apache.axis.utils.JavaUtils.convert(_resp, JobFileContentExt[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public java.lang.String[] listChangedFilesForJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[3]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/ListChangedFilesForJob"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP12_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ListChangedFilesForJob")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(submittedJobInfoId), sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (java.lang.String[]) _resp; - } catch (java.lang.Exception _exception) { - return (java.lang.String[]) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public byte[] downloadFileFromCluster(long submittedJobInfoId, java.lang.String relativeFilePath, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[4]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/DownloadFileFromCluster"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP12_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DownloadFileFromCluster")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(submittedJobInfoId), relativeFilePath, sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (byte[]) _resp; - } catch (java.lang.Exception _exception) { - return (byte[]) org.apache.axis.utils.JavaUtils.convert(_resp, byte[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoapProxy.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoapProxy.java deleted file mode 100644 index 6a9219cc7ab68e77d0186fbd042cb8e0867f20b5..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoapProxy.java +++ /dev/null @@ -1,78 +0,0 @@ -package cz.it4i.fiji.haas_java_client.proxy; - -public class FileTransferWsSoapProxy implements cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap { - private String _endpoint = null; - private cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap fileTransferWsSoap = null; - - public FileTransferWsSoapProxy() { - _initFileTransferWsSoapProxy(); - } - - public FileTransferWsSoapProxy(String endpoint) { - _endpoint = endpoint; - _initFileTransferWsSoapProxy(); - } - - private void _initFileTransferWsSoapProxy() { - try { - fileTransferWsSoap = (new cz.it4i.fiji.haas_java_client.proxy.FileTransferWsLocator()).getFileTransferWsSoap(); - if (fileTransferWsSoap != null) { - if (_endpoint != null) - ((javax.xml.rpc.Stub)fileTransferWsSoap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); - else - _endpoint = (String)((javax.xml.rpc.Stub)fileTransferWsSoap)._getProperty("javax.xml.rpc.service.endpoint.address"); - } - - } - catch (javax.xml.rpc.ServiceException serviceException) {} - } - - public String getEndpoint() { - return _endpoint; - } - - public void setEndpoint(String endpoint) { - _endpoint = endpoint; - if (fileTransferWsSoap != null) - ((javax.xml.rpc.Stub)fileTransferWsSoap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); - - } - - public cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap getFileTransferWsSoap() { - if (fileTransferWsSoap == null) - _initFileTransferWsSoapProxy(); - return fileTransferWsSoap; - } - - public cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt getFileTransferMethod(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (fileTransferWsSoap == null) - _initFileTransferWsSoapProxy(); - return fileTransferWsSoap.getFileTransferMethod(submittedJobInfoId, sessionCode); - } - - public void endFileTransfer(long submittedJobInfoId, cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt usedTransferMethod, java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (fileTransferWsSoap == null) - _initFileTransferWsSoapProxy(); - fileTransferWsSoap.endFileTransfer(submittedJobInfoId, usedTransferMethod, sessionCode); - } - - public cz.it4i.fiji.haas_java_client.proxy.JobFileContentExt[] downloadPartsOfJobFilesFromCluster(long submittedJobInfoId, cz.it4i.fiji.haas_java_client.proxy.TaskFileOffsetExt[] taskFileOffsets, java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (fileTransferWsSoap == null) - _initFileTransferWsSoapProxy(); - return fileTransferWsSoap.downloadPartsOfJobFilesFromCluster(submittedJobInfoId, taskFileOffsets, sessionCode); - } - - public java.lang.String[] listChangedFilesForJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (fileTransferWsSoap == null) - _initFileTransferWsSoapProxy(); - return fileTransferWsSoap.listChangedFilesForJob(submittedJobInfoId, sessionCode); - } - - public byte[] downloadFileFromCluster(long submittedJobInfoId, java.lang.String relativeFilePath, java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (fileTransferWsSoap == null) - _initFileTransferWsSoapProxy(); - return fileTransferWsSoap.downloadFileFromCluster(submittedJobInfoId, relativeFilePath, sessionCode); - } - - -} \ No newline at end of file diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoapStub.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoapStub.java deleted file mode 100644 index b720b0774482b0500f63f6bde5e66e41e14829b7..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/FileTransferWsSoapStub.java +++ /dev/null @@ -1,444 +0,0 @@ -/** - * FileTransferWsSoapStub.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class FileTransferWsSoapStub extends org.apache.axis.client.Stub implements cz.it4i.fiji.haas_java_client.proxy.FileTransferWsSoap { - private java.util.Vector cachedSerClasses = new java.util.Vector(); - private java.util.Vector cachedSerQNames = new java.util.Vector(); - private java.util.Vector cachedSerFactories = new java.util.Vector(); - private java.util.Vector cachedDeserFactories = new java.util.Vector(); - - static org.apache.axis.description.OperationDesc [] _operations; - - static { - _operations = new org.apache.axis.description.OperationDesc[5]; - _initOperationDesc1(); - } - - private static void _initOperationDesc1(){ - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("GetFileTransferMethod"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "FileTransferMethodExt")); - oper.setReturnClass(cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt.class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "GetFileTransferMethodResult")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[0] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("EndFileTransfer"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "usedTransferMethod"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "FileTransferMethodExt"), cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[1] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("DownloadPartsOfJobFilesFromCluster"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "taskFileOffsets"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfTaskFileOffsetExt"), cz.it4i.fiji.haas_java_client.proxy.TaskFileOffsetExt[].class, false, false); - param.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskFileOffsetExt")); - param.setOmittable(true); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfJobFileContentExt")); - oper.setReturnClass(JobFileContentExt[].class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DownloadPartsOfJobFilesFromClusterResult")); - param = oper.getReturnParamDesc(); - param.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobFileContentExt")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[2] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("ListChangedFilesForJob"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfString")); - oper.setReturnClass(java.lang.String[].class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ListChangedFilesForJobResult")); - param = oper.getReturnParamDesc(); - param.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "string")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[3] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("DownloadFileFromCluster"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "relativeFilePath"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "base64Binary")); - oper.setReturnClass(byte[].class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DownloadFileFromClusterResult")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[4] = oper; - - } - - public FileTransferWsSoapStub() throws org.apache.axis.AxisFault { - this(null); - } - - public FileTransferWsSoapStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - this(service); - super.cachedEndpoint = endpointURL; - } - - public FileTransferWsSoapStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - if (service == null) { - super.service = new org.apache.axis.client.Service(); - } else { - super.service = service; - } - ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2"); - java.lang.Class cls; - javax.xml.namespace.QName qName; - javax.xml.namespace.QName qName2; - java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; - java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; - java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; - java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; - java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; - java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; - java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; - java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; - java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; - java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfJobFileContentExt"); - cachedSerQNames.add(qName); - cls = JobFileContentExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobFileContentExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobFileContentExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfString"); - cachedSerQNames.add(qName); - cls = java.lang.String[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "string"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfTaskFileOffsetExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.TaskFileOffsetExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskFileOffsetExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskFileOffsetExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AsymmetricKeyCredentialsExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.AsymmetricKeyCredentialsExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AuthenticationCredentialsExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.AuthenticationCredentialsExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "FileTransferMethodExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "FileTransferProtocolExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.FileTransferProtocolExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(enumsf); - cachedDeserFactories.add(enumdf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobFileContentExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.JobFileContentExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SynchronizableFilesExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.SynchronizableFilesExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(enumsf); - cachedDeserFactories.add(enumdf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskFileOffsetExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.TaskFileOffsetExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - } - - protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException { - try { - org.apache.axis.client.Call _call = super._createCall(); - if (super.maintainSessionSet) { - _call.setMaintainSession(super.maintainSession); - } - if (super.cachedUsername != null) { - _call.setUsername(super.cachedUsername); - } - if (super.cachedPassword != null) { - _call.setPassword(super.cachedPassword); - } - if (super.cachedEndpoint != null) { - _call.setTargetEndpointAddress(super.cachedEndpoint); - } - if (super.cachedTimeout != null) { - _call.setTimeout(super.cachedTimeout); - } - if (super.cachedPortName != null) { - _call.setPortName(super.cachedPortName); - } - java.util.Enumeration keys = super.cachedProperties.keys(); - while (keys.hasMoreElements()) { - java.lang.String key = (java.lang.String) keys.nextElement(); - _call.setProperty(key, super.cachedProperties.get(key)); - } - // All the type mapping information is registered - // when the first call is made. - // The type mapping information is actually registered in - // the TypeMappingRegistry of the service, which - // is the reason why registration is only needed for the first call. - synchronized (this) { - if (firstCall()) { - // must set encoding style before registering serializers - _call.setEncodingStyle(null); - for (int i = 0; i < cachedSerFactories.size(); ++i) { - java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i); - javax.xml.namespace.QName qName = - (javax.xml.namespace.QName) cachedSerQNames.get(i); - java.lang.Object x = cachedSerFactories.get(i); - if (x instanceof Class) { - java.lang.Class sf = (java.lang.Class) - cachedSerFactories.get(i); - java.lang.Class df = (java.lang.Class) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) { - org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) - cachedSerFactories.get(i); - org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - } - } - } - return _call; - } - catch (java.lang.Throwable _t) { - throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); - } - } - - public cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt getFileTransferMethod(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[0]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/GetFileTransferMethod"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "GetFileTransferMethod")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(submittedJobInfoId), sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt) _resp; - } catch (java.lang.Exception _exception) { - return (cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt) org.apache.axis.utils.JavaUtils.convert(_resp, cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public void endFileTransfer(long submittedJobInfoId, cz.it4i.fiji.haas_java_client.proxy.FileTransferMethodExt usedTransferMethod, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[1]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/EndFileTransfer"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "EndFileTransfer")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(submittedJobInfoId), usedTransferMethod, sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public cz.it4i.fiji.haas_java_client.proxy.JobFileContentExt[] downloadPartsOfJobFilesFromCluster(long submittedJobInfoId, cz.it4i.fiji.haas_java_client.proxy.TaskFileOffsetExt[] taskFileOffsets, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[2]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/DownloadPartsOfJobFilesFromCluster"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DownloadPartsOfJobFilesFromCluster")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(submittedJobInfoId), taskFileOffsets, sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (cz.it4i.fiji.haas_java_client.proxy.JobFileContentExt[]) _resp; - } catch (java.lang.Exception _exception) { - return (cz.it4i.fiji.haas_java_client.proxy.JobFileContentExt[]) org.apache.axis.utils.JavaUtils.convert(_resp, JobFileContentExt[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public java.lang.String[] listChangedFilesForJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[3]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/ListChangedFilesForJob"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ListChangedFilesForJob")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(submittedJobInfoId), sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (java.lang.String[]) _resp; - } catch (java.lang.Exception _exception) { - return (java.lang.String[]) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public byte[] downloadFileFromCluster(long submittedJobInfoId, java.lang.String relativeFilePath, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[4]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/DownloadFileFromCluster"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DownloadFileFromCluster")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(submittedJobInfoId), relativeFilePath, sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (byte[]) _resp; - } catch (java.lang.Exception _exception) { - return (byte[]) org.apache.axis.utils.JavaUtils.convert(_resp, byte[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobFileContentExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobFileContentExt.java deleted file mode 100644 index c0e122c03adcc10215af95f99418f669710f040f..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobFileContentExt.java +++ /dev/null @@ -1,255 +0,0 @@ -/** - * JobFileContentExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class JobFileContentExt implements java.io.Serializable { - private java.lang.String content; - - private java.lang.String relativePath; - - private java.lang.Long offset; - - private cz.it4i.fiji.haas_java_client.proxy.SynchronizableFilesExt fileType; - - private java.lang.Long submittedTaskInfoId; - - public JobFileContentExt() { - } - - public JobFileContentExt( - java.lang.String content, - java.lang.String relativePath, - java.lang.Long offset, - cz.it4i.fiji.haas_java_client.proxy.SynchronizableFilesExt fileType, - java.lang.Long submittedTaskInfoId) { - this.content = content; - this.relativePath = relativePath; - this.offset = offset; - this.fileType = fileType; - this.submittedTaskInfoId = submittedTaskInfoId; - } - - - /* (non-Javadoc) - * @see cz.it4i.fiji.haas_java_client.proxy.Aaa#getContent() - */ - public java.lang.String getContent() { - return content; - } - - - /** - * Sets the content value for this JobFileContentExt. - * - * @param content - */ - public void setContent(java.lang.String content) { - this.content = content; - } - - - /* (non-Javadoc) - * @see cz.it4i.fiji.haas_java_client.proxy.Aaa#getRelativePath() - */ - public java.lang.String getRelativePath() { - return relativePath; - } - - - /** - * Sets the relativePath value for this JobFileContentExt. - * - * @param relativePath - */ - public void setRelativePath(java.lang.String relativePath) { - this.relativePath = relativePath; - } - - - /* (non-Javadoc) - * @see cz.it4i.fiji.haas_java_client.proxy.Aaa#getOffset() - */ - public java.lang.Long getOffset() { - return offset; - } - - - /** - * Sets the offset value for this JobFileContentExt. - * - * @param offset - */ - public void setOffset(java.lang.Long offset) { - this.offset = offset; - } - - - /* (non-Javadoc) - * @see cz.it4i.fiji.haas_java_client.proxy.Aaa#getFileType() - */ - public cz.it4i.fiji.haas_java_client.proxy.SynchronizableFilesExt getFileType() { - return fileType; - } - - - /** - * Sets the fileType value for this JobFileContentExt. - * - * @param fileType - */ - public void setFileType(cz.it4i.fiji.haas_java_client.proxy.SynchronizableFilesExt fileType) { - this.fileType = fileType; - } - - - /* (non-Javadoc) - * @see cz.it4i.fiji.haas_java_client.proxy.Aaa#getSubmittedTaskInfoId() - */ - public java.lang.Long getSubmittedTaskInfoId() { - return submittedTaskInfoId; - } - - - /** - * Sets the submittedTaskInfoId value for this JobFileContentExt. - * - * @param submittedTaskInfoId - */ - public void setSubmittedTaskInfoId(java.lang.Long submittedTaskInfoId) { - this.submittedTaskInfoId = submittedTaskInfoId; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof JobFileContentExt)) return false; - JobFileContentExt other = (JobFileContentExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.content==null && other.getContent()==null) || - (this.content!=null && - this.content.equals(other.getContent()))) && - ((this.relativePath==null && other.getRelativePath()==null) || - (this.relativePath!=null && - this.relativePath.equals(other.getRelativePath()))) && - ((this.offset==null && other.getOffset()==null) || - (this.offset!=null && - this.offset.equals(other.getOffset()))) && - ((this.fileType==null && other.getFileType()==null) || - (this.fileType!=null && - this.fileType.equals(other.getFileType()))) && - ((this.submittedTaskInfoId==null && other.getSubmittedTaskInfoId()==null) || - (this.submittedTaskInfoId!=null && - this.submittedTaskInfoId.equals(other.getSubmittedTaskInfoId()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getContent() != null) { - _hashCode += getContent().hashCode(); - } - if (getRelativePath() != null) { - _hashCode += getRelativePath().hashCode(); - } - if (getOffset() != null) { - _hashCode += getOffset().hashCode(); - } - if (getFileType() != null) { - _hashCode += getFileType().hashCode(); - } - if (getSubmittedTaskInfoId() != null) { - _hashCode += getSubmittedTaskInfoId().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(JobFileContentExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobFileContentExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("content"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "content")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("relativePath"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "relativePath")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("offset"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "offset")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("fileType"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "fileType")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SynchronizableFilesExt")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("submittedTaskInfoId"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedTaskInfoId")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWs.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWs.java deleted file mode 100644 index b74b6d7fa2898ea102c2916c18cdc97e2907b5c6..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWs.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - * JobManagementWs.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public interface JobManagementWs extends javax.xml.rpc.Service { - public java.lang.String getJobManagementWsSoapAddress(); - - public cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoap getJobManagementWsSoap() throws javax.xml.rpc.ServiceException; - - public cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoap getJobManagementWsSoap(java.net.URL portAddress) throws javax.xml.rpc.ServiceException; -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsLocator.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsLocator.java deleted file mode 100644 index b3fc4fc57c275a4cdd14af1300b559d8566b4cd1..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsLocator.java +++ /dev/null @@ -1,142 +0,0 @@ -/** - * JobManagementWsLocator.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class JobManagementWsLocator extends org.apache.axis.client.Service implements cz.it4i.fiji.haas_java_client.proxy.JobManagementWs { - - public JobManagementWsLocator() { - } - - - public JobManagementWsLocator(org.apache.axis.EngineConfiguration config) { - super(config); - } - - public JobManagementWsLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException { - super(wsdlLoc, sName); - } - - // Use to get a proxy class for JobManagementWsSoap - private java.lang.String JobManagementWsSoap_address = "http://haas.vsb.cz/HaasWsFiji/JobManagementWS.asmx"; - - public java.lang.String getJobManagementWsSoapAddress() { - return JobManagementWsSoap_address; - } - - // The WSDD service name defaults to the port name. - private java.lang.String JobManagementWsSoapWSDDServiceName = "JobManagementWsSoap"; - - public java.lang.String getJobManagementWsSoapWSDDServiceName() { - return JobManagementWsSoapWSDDServiceName; - } - - public void setJobManagementWsSoapWSDDServiceName(java.lang.String name) { - JobManagementWsSoapWSDDServiceName = name; - } - - public cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoap getJobManagementWsSoap() throws javax.xml.rpc.ServiceException { - java.net.URL endpoint; - try { - endpoint = new java.net.URL(JobManagementWsSoap_address); - } - catch (java.net.MalformedURLException e) { - throw new javax.xml.rpc.ServiceException(e); - } - return getJobManagementWsSoap(endpoint); - } - - public cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoap getJobManagementWsSoap(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { - try { - cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoapStub _stub = new cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoapStub(portAddress, this); - _stub.setPortName(getJobManagementWsSoapWSDDServiceName()); - return _stub; - } - catch (org.apache.axis.AxisFault e) { - return null; - } - } - - public void setJobManagementWsSoapEndpointAddress(java.lang.String address) { - JobManagementWsSoap_address = address; - } - - /** - * For the given interface, get the stub implementation. - * If this service has no port for the given interface, - * then ServiceException is thrown. - */ - public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { - try { - if (cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoap.class.isAssignableFrom(serviceEndpointInterface)) { - cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoapStub _stub = new cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoapStub(new java.net.URL(JobManagementWsSoap_address), this); - _stub.setPortName(getJobManagementWsSoapWSDDServiceName()); - return _stub; - } - } - catch (java.lang.Throwable t) { - throw new javax.xml.rpc.ServiceException(t); - } - throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); - } - - /** - * For the given interface, get the stub implementation. - * If this service has no port for the given interface, - * then ServiceException is thrown. - */ - public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { - if (portName == null) { - return getPort(serviceEndpointInterface); - } - java.lang.String inputPortName = portName.getLocalPart(); - if ("JobManagementWsSoap".equals(inputPortName)) { - return getJobManagementWsSoap(); - } - else { - java.rmi.Remote _stub = getPort(serviceEndpointInterface); - ((org.apache.axis.client.Stub) _stub).setPortName(portName); - return _stub; - } - } - - public javax.xml.namespace.QName getServiceName() { - return new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobManagementWs"); - } - - private java.util.HashSet ports = null; - - public java.util.Iterator getPorts() { - if (ports == null) { - ports = new java.util.HashSet(); - ports.add(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobManagementWsSoap")); - } - return ports.iterator(); - } - - /** - * Set the endpoint address for the specified port name. - */ - public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException { - -if ("JobManagementWsSoap".equals(portName)) { - setJobManagementWsSoapEndpointAddress(address); - } - else -{ // Unknown Port Name - throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName); - } - } - - /** - * Set the endpoint address for the specified port name. - */ - public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException { - setEndpointAddress(portName.getLocalPart(), address); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsSoap.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsSoap.java deleted file mode 100644 index 741db98a997d7091be0989b8c2b5adfa0776d34f..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsSoap.java +++ /dev/null @@ -1,17 +0,0 @@ -/** - * JobManagementWsSoap.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public interface JobManagementWsSoap extends java.rmi.Remote { - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt createJob(cz.it4i.fiji.haas_java_client.proxy.JobSpecificationExt specification, java.lang.String sessionCode) throws java.rmi.RemoteException; - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt submitJob(long createdJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException; - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt cancelJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException; - public void deleteJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException; - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt[] listJobsForCurrentUser(java.lang.String sessionCode) throws java.rmi.RemoteException; - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt getCurrentInfoForJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException; -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsSoapProxy.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsSoapProxy.java deleted file mode 100644 index 8b4d15b19dc102c58e7fbad5d53203209a1904c5..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsSoapProxy.java +++ /dev/null @@ -1,84 +0,0 @@ -package cz.it4i.fiji.haas_java_client.proxy; - -public class JobManagementWsSoapProxy implements cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoap { - private String _endpoint = null; - private cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoap jobManagementWsSoap = null; - - public JobManagementWsSoapProxy() { - _initJobManagementWsSoapProxy(); - } - - public JobManagementWsSoapProxy(String endpoint) { - _endpoint = endpoint; - _initJobManagementWsSoapProxy(); - } - - private void _initJobManagementWsSoapProxy() { - try { - jobManagementWsSoap = (new cz.it4i.fiji.haas_java_client.proxy.JobManagementWsLocator()).getJobManagementWsSoap(); - if (jobManagementWsSoap != null) { - if (_endpoint != null) - ((javax.xml.rpc.Stub)jobManagementWsSoap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); - else - _endpoint = (String)((javax.xml.rpc.Stub)jobManagementWsSoap)._getProperty("javax.xml.rpc.service.endpoint.address"); - } - - } - catch (javax.xml.rpc.ServiceException serviceException) {} - } - - public String getEndpoint() { - return _endpoint; - } - - public void setEndpoint(String endpoint) { - _endpoint = endpoint; - if (jobManagementWsSoap != null) - ((javax.xml.rpc.Stub)jobManagementWsSoap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); - - } - - public cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoap getJobManagementWsSoap() { - if (jobManagementWsSoap == null) - _initJobManagementWsSoapProxy(); - return jobManagementWsSoap; - } - - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt createJob(cz.it4i.fiji.haas_java_client.proxy.JobSpecificationExt specification, java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (jobManagementWsSoap == null) - _initJobManagementWsSoapProxy(); - return jobManagementWsSoap.createJob(specification, sessionCode); - } - - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt submitJob(long createdJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (jobManagementWsSoap == null) - _initJobManagementWsSoapProxy(); - return jobManagementWsSoap.submitJob(createdJobInfoId, sessionCode); - } - - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt cancelJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (jobManagementWsSoap == null) - _initJobManagementWsSoapProxy(); - return jobManagementWsSoap.cancelJob(submittedJobInfoId, sessionCode); - } - - public void deleteJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (jobManagementWsSoap == null) - _initJobManagementWsSoapProxy(); - jobManagementWsSoap.deleteJob(submittedJobInfoId, sessionCode); - } - - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt[] listJobsForCurrentUser(java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (jobManagementWsSoap == null) - _initJobManagementWsSoapProxy(); - return jobManagementWsSoap.listJobsForCurrentUser(sessionCode); - } - - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt getCurrentInfoForJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (jobManagementWsSoap == null) - _initJobManagementWsSoapProxy(); - return jobManagementWsSoap.getCurrentInfoForJob(submittedJobInfoId, sessionCode); - } - - -} \ No newline at end of file diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsSoapStub.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsSoapStub.java deleted file mode 100644 index 4588657251c1099422c91032f80b21b7aad02155..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobManagementWsSoapStub.java +++ /dev/null @@ -1,550 +0,0 @@ -/** - * JobManagementWsSoapStub.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class JobManagementWsSoapStub extends org.apache.axis.client.Stub implements cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoap { - private java.util.Vector cachedSerClasses = new java.util.Vector(); - private java.util.Vector cachedSerQNames = new java.util.Vector(); - private java.util.Vector cachedSerFactories = new java.util.Vector(); - private java.util.Vector cachedDeserFactories = new java.util.Vector(); - - static org.apache.axis.description.OperationDesc [] _operations; - - static { - _operations = new org.apache.axis.description.OperationDesc[6]; - _initOperationDesc1(); - } - - private static void _initOperationDesc1(){ - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("CreateJob"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "specification"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobSpecificationExt"), cz.it4i.fiji.haas_java_client.proxy.JobSpecificationExt.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedJobInfoExt")); - oper.setReturnClass(cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt.class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CreateJobResult")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[0] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("SubmitJob"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "createdJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedJobInfoExt")); - oper.setReturnClass(cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt.class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmitJobResult")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[1] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("CancelJob"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedJobInfoExt")); - oper.setReturnClass(cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt.class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CancelJobResult")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[2] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("DeleteJob"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[3] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("ListJobsForCurrentUser"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfSubmittedJobInfoExt")); - oper.setReturnClass(cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt[].class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ListJobsForCurrentUserResult")); - param = oper.getReturnParamDesc(); - param.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedJobInfoExt")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[4] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("GetCurrentInfoForJob"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedJobInfoId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedJobInfoExt")); - oper.setReturnClass(cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt.class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "GetCurrentInfoForJobResult")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[5] = oper; - - } - - public JobManagementWsSoapStub() throws org.apache.axis.AxisFault { - this(null); - } - - public JobManagementWsSoapStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - this(service); - super.cachedEndpoint = endpointURL; - } - - public JobManagementWsSoapStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - if (service == null) { - super.service = new org.apache.axis.client.Service(); - } else { - super.service = service; - } - ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2"); - java.lang.Class cls; - javax.xml.namespace.QName qName; - javax.xml.namespace.QName qName2; - java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; - java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; - java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; - java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; - java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; - java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; - java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; - java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; - java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; - java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfCommandTemplateExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.CommandTemplateExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfCommandTemplateParameterExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfCommandTemplateParameterValueExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterValueExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterValueExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterValueExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfEnvironmentVariableExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.EnvironmentVariableExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "EnvironmentVariableExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "EnvironmentVariableExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfSubmittedJobInfoExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedJobInfoExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedJobInfoExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfSubmittedTaskInfoExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.SubmittedTaskInfoExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedTaskInfoExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedTaskInfoExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfTaskSpecificationExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.TaskSpecificationExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskSpecificationExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskSpecificationExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ClusterNodeTypeExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.ClusterNodeTypeExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.CommandTemplateExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterValueExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterValueExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "EnvironmentVariableExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.EnvironmentVariableExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobPriorityExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.JobPriorityExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(enumsf); - cachedDeserFactories.add(enumdf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobSpecificationExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.JobSpecificationExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobStateExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.JobStateExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(enumsf); - cachedDeserFactories.add(enumdf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedJobInfoExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedTaskInfoExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.SubmittedTaskInfoExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskSpecificationExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.TaskSpecificationExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskStateExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.TaskStateExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(enumsf); - cachedDeserFactories.add(enumdf); - - } - - protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException { - try { - org.apache.axis.client.Call _call = super._createCall(); - if (super.maintainSessionSet) { - _call.setMaintainSession(super.maintainSession); - } - if (super.cachedUsername != null) { - _call.setUsername(super.cachedUsername); - } - if (super.cachedPassword != null) { - _call.setPassword(super.cachedPassword); - } - if (super.cachedEndpoint != null) { - _call.setTargetEndpointAddress(super.cachedEndpoint); - } - if (super.cachedTimeout != null) { - _call.setTimeout(super.cachedTimeout); - } - if (super.cachedPortName != null) { - _call.setPortName(super.cachedPortName); - } - java.util.Enumeration keys = super.cachedProperties.keys(); - while (keys.hasMoreElements()) { - java.lang.String key = (java.lang.String) keys.nextElement(); - _call.setProperty(key, super.cachedProperties.get(key)); - } - // All the type mapping information is registered - // when the first call is made. - // The type mapping information is actually registered in - // the TypeMappingRegistry of the service, which - // is the reason why registration is only needed for the first call. - synchronized (this) { - if (firstCall()) { - // must set encoding style before registering serializers - _call.setEncodingStyle(null); - for (int i = 0; i < cachedSerFactories.size(); ++i) { - java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i); - javax.xml.namespace.QName qName = - (javax.xml.namespace.QName) cachedSerQNames.get(i); - java.lang.Object x = cachedSerFactories.get(i); - if (x instanceof Class) { - java.lang.Class sf = (java.lang.Class) - cachedSerFactories.get(i); - java.lang.Class df = (java.lang.Class) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) { - org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) - cachedSerFactories.get(i); - org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - } - } - } - return _call; - } - catch (java.lang.Throwable _t) { - throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); - } - } - - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt createJob(cz.it4i.fiji.haas_java_client.proxy.JobSpecificationExt specification, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[0]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/CreateJob"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CreateJob")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {specification, sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt) _resp; - } catch (java.lang.Exception _exception) { - return (cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt) org.apache.axis.utils.JavaUtils.convert(_resp, cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt submitJob(long createdJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[1]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/SubmitJob"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmitJob")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(createdJobInfoId), sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt) _resp; - } catch (java.lang.Exception _exception) { - return (cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt) org.apache.axis.utils.JavaUtils.convert(_resp, cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt cancelJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[2]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/CancelJob"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CancelJob")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(submittedJobInfoId), sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt) _resp; - } catch (java.lang.Exception _exception) { - return (cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt) org.apache.axis.utils.JavaUtils.convert(_resp, cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public void deleteJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[3]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/DeleteJob"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DeleteJob")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(submittedJobInfoId), sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt[] listJobsForCurrentUser(java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[4]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/ListJobsForCurrentUser"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ListJobsForCurrentUser")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt[]) _resp; - } catch (java.lang.Exception _exception) { - return (cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt[]) org.apache.axis.utils.JavaUtils.convert(_resp, cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt getCurrentInfoForJob(long submittedJobInfoId, java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[5]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/GetCurrentInfoForJob"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "GetCurrentInfoForJob")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(submittedJobInfoId), sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt) _resp; - } catch (java.lang.Exception _exception) { - return (cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt) org.apache.axis.utils.JavaUtils.convert(_resp, cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobPriorityExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobPriorityExt.java deleted file mode 100644 index c5b7644ed25e70855c43d973b797061aa301d21b..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobPriorityExt.java +++ /dev/null @@ -1,84 +0,0 @@ -/** - * JobPriorityExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class JobPriorityExt implements java.io.Serializable { - private java.lang.String _value_; - private static java.util.HashMap _table_ = new java.util.HashMap(); - - // Constructor - protected JobPriorityExt(java.lang.String value) { - _value_ = value; - _table_.put(_value_,this); - } - - public static final java.lang.String _Lowest = "Lowest"; - public static final java.lang.String _VeryLow = "VeryLow"; - public static final java.lang.String _Low = "Low"; - public static final java.lang.String _BelowAverage = "BelowAverage"; - public static final java.lang.String _Average = "Average"; - public static final java.lang.String _AboveAverage = "AboveAverage"; - public static final java.lang.String _High = "High"; - public static final java.lang.String _VeryHigh = "VeryHigh"; - public static final java.lang.String _Critical = "Critical"; - public static final JobPriorityExt Lowest = new JobPriorityExt(_Lowest); - public static final JobPriorityExt VeryLow = new JobPriorityExt(_VeryLow); - public static final JobPriorityExt Low = new JobPriorityExt(_Low); - public static final JobPriorityExt BelowAverage = new JobPriorityExt(_BelowAverage); - public static final JobPriorityExt Average = new JobPriorityExt(_Average); - public static final JobPriorityExt AboveAverage = new JobPriorityExt(_AboveAverage); - public static final JobPriorityExt High = new JobPriorityExt(_High); - public static final JobPriorityExt VeryHigh = new JobPriorityExt(_VeryHigh); - public static final JobPriorityExt Critical = new JobPriorityExt(_Critical); - public java.lang.String getValue() { return _value_;} - public static JobPriorityExt fromValue(java.lang.String value) - throws java.lang.IllegalArgumentException { - JobPriorityExt enumeration = (JobPriorityExt) - _table_.get(value); - if (enumeration==null) throw new java.lang.IllegalArgumentException(); - return enumeration; - } - public static JobPriorityExt fromString(java.lang.String value) - throws java.lang.IllegalArgumentException { - return fromValue(value); - } - public boolean equals(java.lang.Object obj) {return (obj == this);} - public int hashCode() { return toString().hashCode();} - public java.lang.String toString() { return _value_;} - public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);} - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.EnumSerializer( - _javaType, _xmlType); - } - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.EnumDeserializer( - _javaType, _xmlType); - } - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(JobPriorityExt.class); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobPriorityExt")); - } - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobSpecificationExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobSpecificationExt.java deleted file mode 100644 index b021e272706f7f31baa619ec931663a76073bc21..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobSpecificationExt.java +++ /dev/null @@ -1,647 +0,0 @@ -/** - * JobSpecificationExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class JobSpecificationExt implements java.io.Serializable { - private java.lang.String name; - - private java.lang.Integer minCores; - - private java.lang.Integer maxCores; - - private cz.it4i.fiji.haas_java_client.proxy.JobPriorityExt priority; - - private java.lang.String project; - - private java.lang.Integer waitingLimit; - - private java.lang.Integer walltimeLimit; - - private java.lang.String notificationEmail; - - private java.lang.String phoneNumber; - - private java.lang.Boolean notifyOnAbort; - - private java.lang.Boolean notifyOnFinish; - - private java.lang.Boolean notifyOnStart; - - private java.lang.Long clusterNodeTypeId; - - private cz.it4i.fiji.haas_java_client.proxy.EnvironmentVariableExt[] environmentVariables; - - private cz.it4i.fiji.haas_java_client.proxy.TaskSpecificationExt[] tasks; - - public JobSpecificationExt() { - } - - public JobSpecificationExt( - java.lang.String name, - java.lang.Integer minCores, - java.lang.Integer maxCores, - cz.it4i.fiji.haas_java_client.proxy.JobPriorityExt priority, - java.lang.String project, - java.lang.Integer waitingLimit, - java.lang.Integer walltimeLimit, - java.lang.String notificationEmail, - java.lang.String phoneNumber, - java.lang.Boolean notifyOnAbort, - java.lang.Boolean notifyOnFinish, - java.lang.Boolean notifyOnStart, - java.lang.Long clusterNodeTypeId, - cz.it4i.fiji.haas_java_client.proxy.EnvironmentVariableExt[] environmentVariables, - cz.it4i.fiji.haas_java_client.proxy.TaskSpecificationExt[] tasks) { - this.name = name; - this.minCores = minCores; - this.maxCores = maxCores; - this.priority = priority; - this.project = project; - this.waitingLimit = waitingLimit; - this.walltimeLimit = walltimeLimit; - this.notificationEmail = notificationEmail; - this.phoneNumber = phoneNumber; - this.notifyOnAbort = notifyOnAbort; - this.notifyOnFinish = notifyOnFinish; - this.notifyOnStart = notifyOnStart; - this.clusterNodeTypeId = clusterNodeTypeId; - this.environmentVariables = environmentVariables; - this.tasks = tasks; - } - - - /** - * Gets the name value for this JobSpecificationExt. - * - * @return name - */ - public java.lang.String getName() { - return name; - } - - - /** - * Sets the name value for this JobSpecificationExt. - * - * @param name - */ - public void setName(java.lang.String name) { - this.name = name; - } - - - /** - * Gets the minCores value for this JobSpecificationExt. - * - * @return minCores - */ - public java.lang.Integer getMinCores() { - return minCores; - } - - - /** - * Sets the minCores value for this JobSpecificationExt. - * - * @param minCores - */ - public void setMinCores(java.lang.Integer minCores) { - this.minCores = minCores; - } - - - /** - * Gets the maxCores value for this JobSpecificationExt. - * - * @return maxCores - */ - public java.lang.Integer getMaxCores() { - return maxCores; - } - - - /** - * Sets the maxCores value for this JobSpecificationExt. - * - * @param maxCores - */ - public void setMaxCores(java.lang.Integer maxCores) { - this.maxCores = maxCores; - } - - - /** - * Gets the priority value for this JobSpecificationExt. - * - * @return priority - */ - public cz.it4i.fiji.haas_java_client.proxy.JobPriorityExt getPriority() { - return priority; - } - - - /** - * Sets the priority value for this JobSpecificationExt. - * - * @param priority - */ - public void setPriority(cz.it4i.fiji.haas_java_client.proxy.JobPriorityExt priority) { - this.priority = priority; - } - - - /** - * Gets the project value for this JobSpecificationExt. - * - * @return project - */ - public java.lang.String getProject() { - return project; - } - - - /** - * Sets the project value for this JobSpecificationExt. - * - * @param project - */ - public void setProject(java.lang.String project) { - this.project = project; - } - - - /** - * Gets the waitingLimit value for this JobSpecificationExt. - * - * @return waitingLimit - */ - public java.lang.Integer getWaitingLimit() { - return waitingLimit; - } - - - /** - * Sets the waitingLimit value for this JobSpecificationExt. - * - * @param waitingLimit - */ - public void setWaitingLimit(java.lang.Integer waitingLimit) { - this.waitingLimit = waitingLimit; - } - - - /** - * Gets the walltimeLimit value for this JobSpecificationExt. - * - * @return walltimeLimit - */ - public java.lang.Integer getWalltimeLimit() { - return walltimeLimit; - } - - - /** - * Sets the walltimeLimit value for this JobSpecificationExt. - * - * @param walltimeLimit - */ - public void setWalltimeLimit(java.lang.Integer walltimeLimit) { - this.walltimeLimit = walltimeLimit; - } - - - /** - * Gets the notificationEmail value for this JobSpecificationExt. - * - * @return notificationEmail - */ - public java.lang.String getNotificationEmail() { - return notificationEmail; - } - - - /** - * Sets the notificationEmail value for this JobSpecificationExt. - * - * @param notificationEmail - */ - public void setNotificationEmail(java.lang.String notificationEmail) { - this.notificationEmail = notificationEmail; - } - - - /** - * Gets the phoneNumber value for this JobSpecificationExt. - * - * @return phoneNumber - */ - public java.lang.String getPhoneNumber() { - return phoneNumber; - } - - - /** - * Sets the phoneNumber value for this JobSpecificationExt. - * - * @param phoneNumber - */ - public void setPhoneNumber(java.lang.String phoneNumber) { - this.phoneNumber = phoneNumber; - } - - - /** - * Gets the notifyOnAbort value for this JobSpecificationExt. - * - * @return notifyOnAbort - */ - public java.lang.Boolean getNotifyOnAbort() { - return notifyOnAbort; - } - - - /** - * Sets the notifyOnAbort value for this JobSpecificationExt. - * - * @param notifyOnAbort - */ - public void setNotifyOnAbort(java.lang.Boolean notifyOnAbort) { - this.notifyOnAbort = notifyOnAbort; - } - - - /** - * Gets the notifyOnFinish value for this JobSpecificationExt. - * - * @return notifyOnFinish - */ - public java.lang.Boolean getNotifyOnFinish() { - return notifyOnFinish; - } - - - /** - * Sets the notifyOnFinish value for this JobSpecificationExt. - * - * @param notifyOnFinish - */ - public void setNotifyOnFinish(java.lang.Boolean notifyOnFinish) { - this.notifyOnFinish = notifyOnFinish; - } - - - /** - * Gets the notifyOnStart value for this JobSpecificationExt. - * - * @return notifyOnStart - */ - public java.lang.Boolean getNotifyOnStart() { - return notifyOnStart; - } - - - /** - * Sets the notifyOnStart value for this JobSpecificationExt. - * - * @param notifyOnStart - */ - public void setNotifyOnStart(java.lang.Boolean notifyOnStart) { - this.notifyOnStart = notifyOnStart; - } - - - /** - * Gets the clusterNodeTypeId value for this JobSpecificationExt. - * - * @return clusterNodeTypeId - */ - public java.lang.Long getClusterNodeTypeId() { - return clusterNodeTypeId; - } - - - /** - * Sets the clusterNodeTypeId value for this JobSpecificationExt. - * - * @param clusterNodeTypeId - */ - public void setClusterNodeTypeId(java.lang.Long clusterNodeTypeId) { - this.clusterNodeTypeId = clusterNodeTypeId; - } - - - /** - * Gets the environmentVariables value for this JobSpecificationExt. - * - * @return environmentVariables - */ - public cz.it4i.fiji.haas_java_client.proxy.EnvironmentVariableExt[] getEnvironmentVariables() { - return environmentVariables; - } - - - /** - * Sets the environmentVariables value for this JobSpecificationExt. - * - * @param environmentVariables - */ - public void setEnvironmentVariables(cz.it4i.fiji.haas_java_client.proxy.EnvironmentVariableExt[] environmentVariables) { - this.environmentVariables = environmentVariables; - } - - - /** - * Gets the tasks value for this JobSpecificationExt. - * - * @return tasks - */ - public cz.it4i.fiji.haas_java_client.proxy.TaskSpecificationExt[] getTasks() { - return tasks; - } - - - /** - * Sets the tasks value for this JobSpecificationExt. - * - * @param tasks - */ - public void setTasks(cz.it4i.fiji.haas_java_client.proxy.TaskSpecificationExt[] tasks) { - this.tasks = tasks; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof JobSpecificationExt)) return false; - JobSpecificationExt other = (JobSpecificationExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.name==null && other.getName()==null) || - (this.name!=null && - this.name.equals(other.getName()))) && - ((this.minCores==null && other.getMinCores()==null) || - (this.minCores!=null && - this.minCores.equals(other.getMinCores()))) && - ((this.maxCores==null && other.getMaxCores()==null) || - (this.maxCores!=null && - this.maxCores.equals(other.getMaxCores()))) && - ((this.priority==null && other.getPriority()==null) || - (this.priority!=null && - this.priority.equals(other.getPriority()))) && - ((this.project==null && other.getProject()==null) || - (this.project!=null && - this.project.equals(other.getProject()))) && - ((this.waitingLimit==null && other.getWaitingLimit()==null) || - (this.waitingLimit!=null && - this.waitingLimit.equals(other.getWaitingLimit()))) && - ((this.walltimeLimit==null && other.getWalltimeLimit()==null) || - (this.walltimeLimit!=null && - this.walltimeLimit.equals(other.getWalltimeLimit()))) && - ((this.notificationEmail==null && other.getNotificationEmail()==null) || - (this.notificationEmail!=null && - this.notificationEmail.equals(other.getNotificationEmail()))) && - ((this.phoneNumber==null && other.getPhoneNumber()==null) || - (this.phoneNumber!=null && - this.phoneNumber.equals(other.getPhoneNumber()))) && - ((this.notifyOnAbort==null && other.getNotifyOnAbort()==null) || - (this.notifyOnAbort!=null && - this.notifyOnAbort.equals(other.getNotifyOnAbort()))) && - ((this.notifyOnFinish==null && other.getNotifyOnFinish()==null) || - (this.notifyOnFinish!=null && - this.notifyOnFinish.equals(other.getNotifyOnFinish()))) && - ((this.notifyOnStart==null && other.getNotifyOnStart()==null) || - (this.notifyOnStart!=null && - this.notifyOnStart.equals(other.getNotifyOnStart()))) && - ((this.clusterNodeTypeId==null && other.getClusterNodeTypeId()==null) || - (this.clusterNodeTypeId!=null && - this.clusterNodeTypeId.equals(other.getClusterNodeTypeId()))) && - ((this.environmentVariables==null && other.getEnvironmentVariables()==null) || - (this.environmentVariables!=null && - java.util.Arrays.equals(this.environmentVariables, other.getEnvironmentVariables()))) && - ((this.tasks==null && other.getTasks()==null) || - (this.tasks!=null && - java.util.Arrays.equals(this.tasks, other.getTasks()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getName() != null) { - _hashCode += getName().hashCode(); - } - if (getMinCores() != null) { - _hashCode += getMinCores().hashCode(); - } - if (getMaxCores() != null) { - _hashCode += getMaxCores().hashCode(); - } - if (getPriority() != null) { - _hashCode += getPriority().hashCode(); - } - if (getProject() != null) { - _hashCode += getProject().hashCode(); - } - if (getWaitingLimit() != null) { - _hashCode += getWaitingLimit().hashCode(); - } - if (getWalltimeLimit() != null) { - _hashCode += getWalltimeLimit().hashCode(); - } - if (getNotificationEmail() != null) { - _hashCode += getNotificationEmail().hashCode(); - } - if (getPhoneNumber() != null) { - _hashCode += getPhoneNumber().hashCode(); - } - if (getNotifyOnAbort() != null) { - _hashCode += getNotifyOnAbort().hashCode(); - } - if (getNotifyOnFinish() != null) { - _hashCode += getNotifyOnFinish().hashCode(); - } - if (getNotifyOnStart() != null) { - _hashCode += getNotifyOnStart().hashCode(); - } - if (getClusterNodeTypeId() != null) { - _hashCode += getClusterNodeTypeId().hashCode(); - } - if (getEnvironmentVariables() != null) { - for (int i=0; - i<java.lang.reflect.Array.getLength(getEnvironmentVariables()); - i++) { - java.lang.Object obj = java.lang.reflect.Array.get(getEnvironmentVariables(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - if (getTasks() != null) { - for (int i=0; - i<java.lang.reflect.Array.getLength(getTasks()); - i++) { - java.lang.Object obj = java.lang.reflect.Array.get(getTasks(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(JobSpecificationExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobSpecificationExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("minCores"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "minCores")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("maxCores"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "maxCores")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("priority"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "priority")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobPriorityExt")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("project"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "project")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("waitingLimit"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "waitingLimit")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("walltimeLimit"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "walltimeLimit")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("notificationEmail"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "notificationEmail")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("phoneNumber"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "phoneNumber")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("notifyOnAbort"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "notifyOnAbort")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("notifyOnFinish"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "notifyOnFinish")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("notifyOnStart"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "notifyOnStart")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("clusterNodeTypeId"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "clusterNodeTypeId")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("environmentVariables"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "environmentVariables")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "EnvironmentVariableExt")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "EnvironmentVariableExt")); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("tasks"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "tasks")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskSpecificationExt")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskSpecificationExt")); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobStateExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobStateExt.java deleted file mode 100644 index 9587b44e99a0041c7126f2afc103ccc35b8b7cf4..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/JobStateExt.java +++ /dev/null @@ -1,80 +0,0 @@ -/** - * JobStateExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class JobStateExt implements java.io.Serializable { - private java.lang.String _value_; - private static java.util.HashMap _table_ = new java.util.HashMap(); - - // Constructor - protected JobStateExt(java.lang.String value) { - _value_ = value; - _table_.put(_value_,this); - } - - public static final java.lang.String _Configuring = "Configuring"; - public static final java.lang.String _Submitted = "Submitted"; - public static final java.lang.String _Queued = "Queued"; - public static final java.lang.String _Running = "Running"; - public static final java.lang.String _Finished = "Finished"; - public static final java.lang.String _Failed = "Failed"; - public static final java.lang.String _Canceled = "Canceled"; - public static final JobStateExt Configuring = new JobStateExt(_Configuring); - public static final JobStateExt Submitted = new JobStateExt(_Submitted); - public static final JobStateExt Queued = new JobStateExt(_Queued); - public static final JobStateExt Running = new JobStateExt(_Running); - public static final JobStateExt Finished = new JobStateExt(_Finished); - public static final JobStateExt Failed = new JobStateExt(_Failed); - public static final JobStateExt Canceled = new JobStateExt(_Canceled); - public java.lang.String getValue() { return _value_;} - public static JobStateExt fromValue(java.lang.String value) - throws java.lang.IllegalArgumentException { - JobStateExt enumeration = (JobStateExt) - _table_.get(value); - if (enumeration==null) throw new java.lang.IllegalArgumentException(); - return enumeration; - } - public static JobStateExt fromString(java.lang.String value) - throws java.lang.IllegalArgumentException { - return fromValue(value); - } - public boolean equals(java.lang.Object obj) {return (obj == this);} - public int hashCode() { return toString().hashCode();} - public java.lang.String toString() { return _value_;} - public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);} - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.EnumSerializer( - _javaType, _xmlType); - } - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.EnumDeserializer( - _javaType, _xmlType); - } - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(JobStateExt.class); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobStateExt")); - } - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/PasswordCredentialsExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/PasswordCredentialsExt.java deleted file mode 100644 index 96fc170368cab2776d31d59b997f38ded06bd196..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/PasswordCredentialsExt.java +++ /dev/null @@ -1,123 +0,0 @@ -/** - * PasswordCredentialsExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class PasswordCredentialsExt extends cz.it4i.fiji.haas_java_client.proxy.AuthenticationCredentialsExt implements java.io.Serializable { - private java.lang.String password; - - public PasswordCredentialsExt() { - } - - public PasswordCredentialsExt( - java.lang.String username, - java.lang.String password) { - super( - username); - this.password = password; - } - - - /** - * Gets the password value for this PasswordCredentialsExt. - * - * @return password - */ - public java.lang.String getPassword() { - return password; - } - - - /** - * Sets the password value for this PasswordCredentialsExt. - * - * @param password - */ - public void setPassword(java.lang.String password) { - this.password = password; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof PasswordCredentialsExt)) return false; - PasswordCredentialsExt other = (PasswordCredentialsExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.password==null && other.getPassword()==null) || - (this.password!=null && - this.password.equals(other.getPassword()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getPassword() != null) { - _hashCode += getPassword().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(PasswordCredentialsExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "PasswordCredentialsExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("password"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "password")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/ResourceLimitationExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/ResourceLimitationExt.java deleted file mode 100644 index 94245cfc7d5f90c51dbfb83fa63ecae8e2a4695a..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/ResourceLimitationExt.java +++ /dev/null @@ -1,155 +0,0 @@ -/** - * ResourceLimitationExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class ResourceLimitationExt implements java.io.Serializable { - private java.lang.Integer totalMaxCores; - - private java.lang.Integer maxCoresPerJob; - - public ResourceLimitationExt() { - } - - public ResourceLimitationExt( - java.lang.Integer totalMaxCores, - java.lang.Integer maxCoresPerJob) { - this.totalMaxCores = totalMaxCores; - this.maxCoresPerJob = maxCoresPerJob; - } - - - /** - * Gets the totalMaxCores value for this ResourceLimitationExt. - * - * @return totalMaxCores - */ - public java.lang.Integer getTotalMaxCores() { - return totalMaxCores; - } - - - /** - * Sets the totalMaxCores value for this ResourceLimitationExt. - * - * @param totalMaxCores - */ - public void setTotalMaxCores(java.lang.Integer totalMaxCores) { - this.totalMaxCores = totalMaxCores; - } - - - /** - * Gets the maxCoresPerJob value for this ResourceLimitationExt. - * - * @return maxCoresPerJob - */ - public java.lang.Integer getMaxCoresPerJob() { - return maxCoresPerJob; - } - - - /** - * Sets the maxCoresPerJob value for this ResourceLimitationExt. - * - * @param maxCoresPerJob - */ - public void setMaxCoresPerJob(java.lang.Integer maxCoresPerJob) { - this.maxCoresPerJob = maxCoresPerJob; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof ResourceLimitationExt)) return false; - ResourceLimitationExt other = (ResourceLimitationExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.totalMaxCores==null && other.getTotalMaxCores()==null) || - (this.totalMaxCores!=null && - this.totalMaxCores.equals(other.getTotalMaxCores()))) && - ((this.maxCoresPerJob==null && other.getMaxCoresPerJob()==null) || - (this.maxCoresPerJob!=null && - this.maxCoresPerJob.equals(other.getMaxCoresPerJob()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getTotalMaxCores() != null) { - _hashCode += getTotalMaxCores().hashCode(); - } - if (getMaxCoresPerJob() != null) { - _hashCode += getMaxCoresPerJob().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(ResourceLimitationExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ResourceLimitationExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("totalMaxCores"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "totalMaxCores")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("maxCoresPerJob"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "maxCoresPerJob")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/ResourceUsageExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/ResourceUsageExt.java deleted file mode 100644 index 2e9ad8d00f6c1ea7b87d94ef66a6751481df7e6f..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/ResourceUsageExt.java +++ /dev/null @@ -1,193 +0,0 @@ -/** - * ResourceUsageExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class ResourceUsageExt implements java.io.Serializable { - private cz.it4i.fiji.haas_java_client.proxy.ClusterNodeTypeExt nodeType; - - private java.lang.Integer coresUsed; - - private cz.it4i.fiji.haas_java_client.proxy.ResourceLimitationExt limitation; - - public ResourceUsageExt() { - } - - public ResourceUsageExt( - cz.it4i.fiji.haas_java_client.proxy.ClusterNodeTypeExt nodeType, - java.lang.Integer coresUsed, - cz.it4i.fiji.haas_java_client.proxy.ResourceLimitationExt limitation) { - this.nodeType = nodeType; - this.coresUsed = coresUsed; - this.limitation = limitation; - } - - - /** - * Gets the nodeType value for this ResourceUsageExt. - * - * @return nodeType - */ - public cz.it4i.fiji.haas_java_client.proxy.ClusterNodeTypeExt getNodeType() { - return nodeType; - } - - - /** - * Sets the nodeType value for this ResourceUsageExt. - * - * @param nodeType - */ - public void setNodeType(cz.it4i.fiji.haas_java_client.proxy.ClusterNodeTypeExt nodeType) { - this.nodeType = nodeType; - } - - - /** - * Gets the coresUsed value for this ResourceUsageExt. - * - * @return coresUsed - */ - public java.lang.Integer getCoresUsed() { - return coresUsed; - } - - - /** - * Sets the coresUsed value for this ResourceUsageExt. - * - * @param coresUsed - */ - public void setCoresUsed(java.lang.Integer coresUsed) { - this.coresUsed = coresUsed; - } - - - /** - * Gets the limitation value for this ResourceUsageExt. - * - * @return limitation - */ - public cz.it4i.fiji.haas_java_client.proxy.ResourceLimitationExt getLimitation() { - return limitation; - } - - - /** - * Sets the limitation value for this ResourceUsageExt. - * - * @param limitation - */ - public void setLimitation(cz.it4i.fiji.haas_java_client.proxy.ResourceLimitationExt limitation) { - this.limitation = limitation; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof ResourceUsageExt)) return false; - ResourceUsageExt other = (ResourceUsageExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.nodeType==null && other.getNodeType()==null) || - (this.nodeType!=null && - this.nodeType.equals(other.getNodeType()))) && - ((this.coresUsed==null && other.getCoresUsed()==null) || - (this.coresUsed!=null && - this.coresUsed.equals(other.getCoresUsed()))) && - ((this.limitation==null && other.getLimitation()==null) || - (this.limitation!=null && - this.limitation.equals(other.getLimitation()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getNodeType() != null) { - _hashCode += getNodeType().hashCode(); - } - if (getCoresUsed() != null) { - _hashCode += getCoresUsed().hashCode(); - } - if (getLimitation() != null) { - _hashCode += getLimitation().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(ResourceUsageExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ResourceUsageExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("nodeType"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "nodeType")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ClusterNodeTypeExt")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("coresUsed"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "coresUsed")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("limitation"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "limitation")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ResourceLimitationExt")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/SubmittedJobInfoExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/SubmittedJobInfoExt.java deleted file mode 100644 index 69cb2c8e0c805da4022b5e334bad821b422e3fd4..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/SubmittedJobInfoExt.java +++ /dev/null @@ -1,565 +0,0 @@ -/** - * SubmittedJobInfoExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class SubmittedJobInfoExt implements java.io.Serializable { - private java.lang.Long id; - - private java.lang.String name; - - private cz.it4i.fiji.haas_java_client.proxy.JobStateExt state; - - private cz.it4i.fiji.haas_java_client.proxy.JobPriorityExt priority; - - private java.lang.String project; - - private java.util.Calendar creationTime; - - private java.util.Calendar submitTime; - - private java.util.Calendar startTime; - - private java.util.Calendar endTime; - - private java.lang.Double totalAllocatedTime; - - private java.lang.String allParameters; - - private cz.it4i.fiji.haas_java_client.proxy.ClusterNodeTypeExt nodeType; - - private cz.it4i.fiji.haas_java_client.proxy.SubmittedTaskInfoExt[] tasks; - - public SubmittedJobInfoExt() { - } - - public SubmittedJobInfoExt( - java.lang.Long id, - java.lang.String name, - cz.it4i.fiji.haas_java_client.proxy.JobStateExt state, - cz.it4i.fiji.haas_java_client.proxy.JobPriorityExt priority, - java.lang.String project, - java.util.Calendar creationTime, - java.util.Calendar submitTime, - java.util.Calendar startTime, - java.util.Calendar endTime, - java.lang.Double totalAllocatedTime, - java.lang.String allParameters, - cz.it4i.fiji.haas_java_client.proxy.ClusterNodeTypeExt nodeType, - cz.it4i.fiji.haas_java_client.proxy.SubmittedTaskInfoExt[] tasks) { - this.id = id; - this.name = name; - this.state = state; - this.priority = priority; - this.project = project; - this.creationTime = creationTime; - this.submitTime = submitTime; - this.startTime = startTime; - this.endTime = endTime; - this.totalAllocatedTime = totalAllocatedTime; - this.allParameters = allParameters; - this.nodeType = nodeType; - this.tasks = tasks; - } - - - /** - * Gets the id value for this SubmittedJobInfoExt. - * - * @return id - */ - public java.lang.Long getId() { - return id; - } - - - /** - * Sets the id value for this SubmittedJobInfoExt. - * - * @param id - */ - public void setId(java.lang.Long id) { - this.id = id; - } - - - /** - * Gets the name value for this SubmittedJobInfoExt. - * - * @return name - */ - public java.lang.String getName() { - return name; - } - - - /** - * Sets the name value for this SubmittedJobInfoExt. - * - * @param name - */ - public void setName(java.lang.String name) { - this.name = name; - } - - - /** - * Gets the state value for this SubmittedJobInfoExt. - * - * @return state - */ - public cz.it4i.fiji.haas_java_client.proxy.JobStateExt getState() { - return state; - } - - - /** - * Sets the state value for this SubmittedJobInfoExt. - * - * @param state - */ - public void setState(cz.it4i.fiji.haas_java_client.proxy.JobStateExt state) { - this.state = state; - } - - - /** - * Gets the priority value for this SubmittedJobInfoExt. - * - * @return priority - */ - public cz.it4i.fiji.haas_java_client.proxy.JobPriorityExt getPriority() { - return priority; - } - - - /** - * Sets the priority value for this SubmittedJobInfoExt. - * - * @param priority - */ - public void setPriority(cz.it4i.fiji.haas_java_client.proxy.JobPriorityExt priority) { - this.priority = priority; - } - - - /** - * Gets the project value for this SubmittedJobInfoExt. - * - * @return project - */ - public java.lang.String getProject() { - return project; - } - - - /** - * Sets the project value for this SubmittedJobInfoExt. - * - * @param project - */ - public void setProject(java.lang.String project) { - this.project = project; - } - - - /** - * Gets the creationTime value for this SubmittedJobInfoExt. - * - * @return creationTime - */ - public java.util.Calendar getCreationTime() { - return creationTime; - } - - - /** - * Sets the creationTime value for this SubmittedJobInfoExt. - * - * @param creationTime - */ - public void setCreationTime(java.util.Calendar creationTime) { - this.creationTime = creationTime; - } - - - /** - * Gets the submitTime value for this SubmittedJobInfoExt. - * - * @return submitTime - */ - public java.util.Calendar getSubmitTime() { - return submitTime; - } - - - /** - * Sets the submitTime value for this SubmittedJobInfoExt. - * - * @param submitTime - */ - public void setSubmitTime(java.util.Calendar submitTime) { - this.submitTime = submitTime; - } - - - /** - * Gets the startTime value for this SubmittedJobInfoExt. - * - * @return startTime - */ - public java.util.Calendar getStartTime() { - return startTime; - } - - - /** - * Sets the startTime value for this SubmittedJobInfoExt. - * - * @param startTime - */ - public void setStartTime(java.util.Calendar startTime) { - this.startTime = startTime; - } - - - /** - * Gets the endTime value for this SubmittedJobInfoExt. - * - * @return endTime - */ - public java.util.Calendar getEndTime() { - return endTime; - } - - - /** - * Sets the endTime value for this SubmittedJobInfoExt. - * - * @param endTime - */ - public void setEndTime(java.util.Calendar endTime) { - this.endTime = endTime; - } - - - /** - * Gets the totalAllocatedTime value for this SubmittedJobInfoExt. - * - * @return totalAllocatedTime - */ - public java.lang.Double getTotalAllocatedTime() { - return totalAllocatedTime; - } - - - /** - * Sets the totalAllocatedTime value for this SubmittedJobInfoExt. - * - * @param totalAllocatedTime - */ - public void setTotalAllocatedTime(java.lang.Double totalAllocatedTime) { - this.totalAllocatedTime = totalAllocatedTime; - } - - - /** - * Gets the allParameters value for this SubmittedJobInfoExt. - * - * @return allParameters - */ - public java.lang.String getAllParameters() { - return allParameters; - } - - - /** - * Sets the allParameters value for this SubmittedJobInfoExt. - * - * @param allParameters - */ - public void setAllParameters(java.lang.String allParameters) { - this.allParameters = allParameters; - } - - - /** - * Gets the nodeType value for this SubmittedJobInfoExt. - * - * @return nodeType - */ - public cz.it4i.fiji.haas_java_client.proxy.ClusterNodeTypeExt getNodeType() { - return nodeType; - } - - - /** - * Sets the nodeType value for this SubmittedJobInfoExt. - * - * @param nodeType - */ - public void setNodeType(cz.it4i.fiji.haas_java_client.proxy.ClusterNodeTypeExt nodeType) { - this.nodeType = nodeType; - } - - - /** - * Gets the tasks value for this SubmittedJobInfoExt. - * - * @return tasks - */ - public cz.it4i.fiji.haas_java_client.proxy.SubmittedTaskInfoExt[] getTasks() { - return tasks; - } - - - /** - * Sets the tasks value for this SubmittedJobInfoExt. - * - * @param tasks - */ - public void setTasks(cz.it4i.fiji.haas_java_client.proxy.SubmittedTaskInfoExt[] tasks) { - this.tasks = tasks; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof SubmittedJobInfoExt)) return false; - SubmittedJobInfoExt other = (SubmittedJobInfoExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.id==null && other.getId()==null) || - (this.id!=null && - this.id.equals(other.getId()))) && - ((this.name==null && other.getName()==null) || - (this.name!=null && - this.name.equals(other.getName()))) && - ((this.state==null && other.getState()==null) || - (this.state!=null && - this.state.equals(other.getState()))) && - ((this.priority==null && other.getPriority()==null) || - (this.priority!=null && - this.priority.equals(other.getPriority()))) && - ((this.project==null && other.getProject()==null) || - (this.project!=null && - this.project.equals(other.getProject()))) && - ((this.creationTime==null && other.getCreationTime()==null) || - (this.creationTime!=null && - this.creationTime.equals(other.getCreationTime()))) && - ((this.submitTime==null && other.getSubmitTime()==null) || - (this.submitTime!=null && - this.submitTime.equals(other.getSubmitTime()))) && - ((this.startTime==null && other.getStartTime()==null) || - (this.startTime!=null && - this.startTime.equals(other.getStartTime()))) && - ((this.endTime==null && other.getEndTime()==null) || - (this.endTime!=null && - this.endTime.equals(other.getEndTime()))) && - ((this.totalAllocatedTime==null && other.getTotalAllocatedTime()==null) || - (this.totalAllocatedTime!=null && - this.totalAllocatedTime.equals(other.getTotalAllocatedTime()))) && - ((this.allParameters==null && other.getAllParameters()==null) || - (this.allParameters!=null && - this.allParameters.equals(other.getAllParameters()))) && - ((this.nodeType==null && other.getNodeType()==null) || - (this.nodeType!=null && - this.nodeType.equals(other.getNodeType()))) && - ((this.tasks==null && other.getTasks()==null) || - (this.tasks!=null && - java.util.Arrays.equals(this.tasks, other.getTasks()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getId() != null) { - _hashCode += getId().hashCode(); - } - if (getName() != null) { - _hashCode += getName().hashCode(); - } - if (getState() != null) { - _hashCode += getState().hashCode(); - } - if (getPriority() != null) { - _hashCode += getPriority().hashCode(); - } - if (getProject() != null) { - _hashCode += getProject().hashCode(); - } - if (getCreationTime() != null) { - _hashCode += getCreationTime().hashCode(); - } - if (getSubmitTime() != null) { - _hashCode += getSubmitTime().hashCode(); - } - if (getStartTime() != null) { - _hashCode += getStartTime().hashCode(); - } - if (getEndTime() != null) { - _hashCode += getEndTime().hashCode(); - } - if (getTotalAllocatedTime() != null) { - _hashCode += getTotalAllocatedTime().hashCode(); - } - if (getAllParameters() != null) { - _hashCode += getAllParameters().hashCode(); - } - if (getNodeType() != null) { - _hashCode += getNodeType().hashCode(); - } - if (getTasks() != null) { - for (int i=0; - i<java.lang.reflect.Array.getLength(getTasks()); - i++) { - java.lang.Object obj = java.lang.reflect.Array.get(getTasks(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(SubmittedJobInfoExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedJobInfoExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("state"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "state")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobStateExt")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("priority"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "priority")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "JobPriorityExt")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("project"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "project")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("creationTime"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "creationTime")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("submitTime"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submitTime")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("startTime"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "startTime")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("endTime"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "endTime")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("totalAllocatedTime"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "totalAllocatedTime")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("allParameters"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "allParameters")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("nodeType"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "nodeType")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ClusterNodeTypeExt")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("tasks"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "tasks")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedTaskInfoExt")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedTaskInfoExt")); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/SubmittedTaskInfoExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/SubmittedTaskInfoExt.java deleted file mode 100644 index 0de87b6f2c8c8c14e930d4f1a40437bda82feeec..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/SubmittedTaskInfoExt.java +++ /dev/null @@ -1,411 +0,0 @@ -/** - * SubmittedTaskInfoExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class SubmittedTaskInfoExt implements java.io.Serializable { - private java.lang.Long id; - - private java.lang.String name; - - private cz.it4i.fiji.haas_java_client.proxy.TaskStateExt state; - - private java.lang.Double allocatedTime; - - private java.lang.String allocatedCoreIds; - - private java.util.Calendar startTime; - - private java.util.Calendar endTime; - - private java.lang.String errorMessage; - - private java.lang.String allParameters; - - public SubmittedTaskInfoExt() { - } - - public SubmittedTaskInfoExt( - java.lang.Long id, - java.lang.String name, - cz.it4i.fiji.haas_java_client.proxy.TaskStateExt state, - java.lang.Double allocatedTime, - java.lang.String allocatedCoreIds, - java.util.Calendar startTime, - java.util.Calendar endTime, - java.lang.String errorMessage, - java.lang.String allParameters) { - this.id = id; - this.name = name; - this.state = state; - this.allocatedTime = allocatedTime; - this.allocatedCoreIds = allocatedCoreIds; - this.startTime = startTime; - this.endTime = endTime; - this.errorMessage = errorMessage; - this.allParameters = allParameters; - } - - - /** - * Gets the id value for this SubmittedTaskInfoExt. - * - * @return id - */ - public java.lang.Long getId() { - return id; - } - - - /** - * Sets the id value for this SubmittedTaskInfoExt. - * - * @param id - */ - public void setId(java.lang.Long id) { - this.id = id; - } - - - /** - * Gets the name value for this SubmittedTaskInfoExt. - * - * @return name - */ - public java.lang.String getName() { - return name; - } - - - /** - * Sets the name value for this SubmittedTaskInfoExt. - * - * @param name - */ - public void setName(java.lang.String name) { - this.name = name; - } - - - /** - * Gets the state value for this SubmittedTaskInfoExt. - * - * @return state - */ - public cz.it4i.fiji.haas_java_client.proxy.TaskStateExt getState() { - return state; - } - - - /** - * Sets the state value for this SubmittedTaskInfoExt. - * - * @param state - */ - public void setState(cz.it4i.fiji.haas_java_client.proxy.TaskStateExt state) { - this.state = state; - } - - - /** - * Gets the allocatedTime value for this SubmittedTaskInfoExt. - * - * @return allocatedTime - */ - public java.lang.Double getAllocatedTime() { - return allocatedTime; - } - - - /** - * Sets the allocatedTime value for this SubmittedTaskInfoExt. - * - * @param allocatedTime - */ - public void setAllocatedTime(java.lang.Double allocatedTime) { - this.allocatedTime = allocatedTime; - } - - - /** - * Gets the allocatedCoreIds value for this SubmittedTaskInfoExt. - * - * @return allocatedCoreIds - */ - public java.lang.String getAllocatedCoreIds() { - return allocatedCoreIds; - } - - - /** - * Sets the allocatedCoreIds value for this SubmittedTaskInfoExt. - * - * @param allocatedCoreIds - */ - public void setAllocatedCoreIds(java.lang.String allocatedCoreIds) { - this.allocatedCoreIds = allocatedCoreIds; - } - - - /** - * Gets the startTime value for this SubmittedTaskInfoExt. - * - * @return startTime - */ - public java.util.Calendar getStartTime() { - return startTime; - } - - - /** - * Sets the startTime value for this SubmittedTaskInfoExt. - * - * @param startTime - */ - public void setStartTime(java.util.Calendar startTime) { - this.startTime = startTime; - } - - - /** - * Gets the endTime value for this SubmittedTaskInfoExt. - * - * @return endTime - */ - public java.util.Calendar getEndTime() { - return endTime; - } - - - /** - * Sets the endTime value for this SubmittedTaskInfoExt. - * - * @param endTime - */ - public void setEndTime(java.util.Calendar endTime) { - this.endTime = endTime; - } - - - /** - * Gets the errorMessage value for this SubmittedTaskInfoExt. - * - * @return errorMessage - */ - public java.lang.String getErrorMessage() { - return errorMessage; - } - - - /** - * Sets the errorMessage value for this SubmittedTaskInfoExt. - * - * @param errorMessage - */ - public void setErrorMessage(java.lang.String errorMessage) { - this.errorMessage = errorMessage; - } - - - /** - * Gets the allParameters value for this SubmittedTaskInfoExt. - * - * @return allParameters - */ - public java.lang.String getAllParameters() { - return allParameters; - } - - - /** - * Sets the allParameters value for this SubmittedTaskInfoExt. - * - * @param allParameters - */ - public void setAllParameters(java.lang.String allParameters) { - this.allParameters = allParameters; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof SubmittedTaskInfoExt)) return false; - SubmittedTaskInfoExt other = (SubmittedTaskInfoExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.id==null && other.getId()==null) || - (this.id!=null && - this.id.equals(other.getId()))) && - ((this.name==null && other.getName()==null) || - (this.name!=null && - this.name.equals(other.getName()))) && - ((this.state==null && other.getState()==null) || - (this.state!=null && - this.state.equals(other.getState()))) && - ((this.allocatedTime==null && other.getAllocatedTime()==null) || - (this.allocatedTime!=null && - this.allocatedTime.equals(other.getAllocatedTime()))) && - ((this.allocatedCoreIds==null && other.getAllocatedCoreIds()==null) || - (this.allocatedCoreIds!=null && - this.allocatedCoreIds.equals(other.getAllocatedCoreIds()))) && - ((this.startTime==null && other.getStartTime()==null) || - (this.startTime!=null && - this.startTime.equals(other.getStartTime()))) && - ((this.endTime==null && other.getEndTime()==null) || - (this.endTime!=null && - this.endTime.equals(other.getEndTime()))) && - ((this.errorMessage==null && other.getErrorMessage()==null) || - (this.errorMessage!=null && - this.errorMessage.equals(other.getErrorMessage()))) && - ((this.allParameters==null && other.getAllParameters()==null) || - (this.allParameters!=null && - this.allParameters.equals(other.getAllParameters()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getId() != null) { - _hashCode += getId().hashCode(); - } - if (getName() != null) { - _hashCode += getName().hashCode(); - } - if (getState() != null) { - _hashCode += getState().hashCode(); - } - if (getAllocatedTime() != null) { - _hashCode += getAllocatedTime().hashCode(); - } - if (getAllocatedCoreIds() != null) { - _hashCode += getAllocatedCoreIds().hashCode(); - } - if (getStartTime() != null) { - _hashCode += getStartTime().hashCode(); - } - if (getEndTime() != null) { - _hashCode += getEndTime().hashCode(); - } - if (getErrorMessage() != null) { - _hashCode += getErrorMessage().hashCode(); - } - if (getAllParameters() != null) { - _hashCode += getAllParameters().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(SubmittedTaskInfoExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SubmittedTaskInfoExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("state"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "state")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskStateExt")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("allocatedTime"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "allocatedTime")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("allocatedCoreIds"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "allocatedCoreIds")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("startTime"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "startTime")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("endTime"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "endTime")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("errorMessage"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "errorMessage")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("allParameters"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "allParameters")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/SynchronizableFilesExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/SynchronizableFilesExt.java deleted file mode 100644 index 9ae5e50ff26631dfac4954ccbee411a9bc4b9a6f..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/SynchronizableFilesExt.java +++ /dev/null @@ -1,74 +0,0 @@ -/** - * SynchronizableFilesExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class SynchronizableFilesExt implements java.io.Serializable { - private java.lang.String _value_; - private static java.util.HashMap _table_ = new java.util.HashMap(); - - // Constructor - protected SynchronizableFilesExt(java.lang.String value) { - _value_ = value; - _table_.put(_value_,this); - } - - public static final java.lang.String _LogFile = "LogFile"; - public static final java.lang.String _ProgressFile = "ProgressFile"; - public static final java.lang.String _StandardErrorFile = "StandardErrorFile"; - public static final java.lang.String _StandardOutputFile = "StandardOutputFile"; - public static final SynchronizableFilesExt LogFile = new SynchronizableFilesExt(_LogFile); - public static final SynchronizableFilesExt ProgressFile = new SynchronizableFilesExt(_ProgressFile); - public static final SynchronizableFilesExt StandardErrorFile = new SynchronizableFilesExt(_StandardErrorFile); - public static final SynchronizableFilesExt StandardOutputFile = new SynchronizableFilesExt(_StandardOutputFile); - public java.lang.String getValue() { return _value_;} - public static SynchronizableFilesExt fromValue(java.lang.String value) - throws java.lang.IllegalArgumentException { - SynchronizableFilesExt enumeration = (SynchronizableFilesExt) - _table_.get(value); - if (enumeration==null) throw new java.lang.IllegalArgumentException(); - return enumeration; - } - public static SynchronizableFilesExt fromString(java.lang.String value) - throws java.lang.IllegalArgumentException { - return fromValue(value); - } - public boolean equals(java.lang.Object obj) {return (obj == this);} - public int hashCode() { return toString().hashCode();} - public java.lang.String toString() { return _value_;} - public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);} - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.EnumSerializer( - _javaType, _xmlType); - } - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.EnumDeserializer( - _javaType, _xmlType); - } - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(SynchronizableFilesExt.class); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SynchronizableFilesExt")); - } - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/TaskFileOffsetExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/TaskFileOffsetExt.java deleted file mode 100644 index 97397ee6b2371173fb411f05ed2e58e2480a0549..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/TaskFileOffsetExt.java +++ /dev/null @@ -1,191 +0,0 @@ -/** - * TaskFileOffsetExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class TaskFileOffsetExt implements java.io.Serializable { - private java.lang.Long submittedTaskInfoId; - - private cz.it4i.fiji.haas_java_client.proxy.SynchronizableFilesExt fileType; - - private java.lang.Long offset; - - public TaskFileOffsetExt() { - } - - public TaskFileOffsetExt( - java.lang.Long submittedTaskInfoId, - cz.it4i.fiji.haas_java_client.proxy.SynchronizableFilesExt fileType, - java.lang.Long offset) { - this.submittedTaskInfoId = submittedTaskInfoId; - this.fileType = fileType; - this.offset = offset; - } - - - /** - * Gets the submittedTaskInfoId value for this TaskFileOffsetExt. - * - * @return submittedTaskInfoId - */ - public java.lang.Long getSubmittedTaskInfoId() { - return submittedTaskInfoId; - } - - - /** - * Sets the submittedTaskInfoId value for this TaskFileOffsetExt. - * - * @param submittedTaskInfoId - */ - public void setSubmittedTaskInfoId(java.lang.Long submittedTaskInfoId) { - this.submittedTaskInfoId = submittedTaskInfoId; - } - - - /** - * Gets the fileType value for this TaskFileOffsetExt. - * - * @return fileType - */ - public cz.it4i.fiji.haas_java_client.proxy.SynchronizableFilesExt getFileType() { - return fileType; - } - - - /** - * Sets the fileType value for this TaskFileOffsetExt. - * - * @param fileType - */ - public void setFileType(cz.it4i.fiji.haas_java_client.proxy.SynchronizableFilesExt fileType) { - this.fileType = fileType; - } - - - /** - * Gets the offset value for this TaskFileOffsetExt. - * - * @return offset - */ - public java.lang.Long getOffset() { - return offset; - } - - - /** - * Sets the offset value for this TaskFileOffsetExt. - * - * @param offset - */ - public void setOffset(java.lang.Long offset) { - this.offset = offset; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof TaskFileOffsetExt)) return false; - TaskFileOffsetExt other = (TaskFileOffsetExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.submittedTaskInfoId==null && other.getSubmittedTaskInfoId()==null) || - (this.submittedTaskInfoId!=null && - this.submittedTaskInfoId.equals(other.getSubmittedTaskInfoId()))) && - ((this.fileType==null && other.getFileType()==null) || - (this.fileType!=null && - this.fileType.equals(other.getFileType()))) && - ((this.offset==null && other.getOffset()==null) || - (this.offset!=null && - this.offset.equals(other.getOffset()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getSubmittedTaskInfoId() != null) { - _hashCode += getSubmittedTaskInfoId().hashCode(); - } - if (getFileType() != null) { - _hashCode += getFileType().hashCode(); - } - if (getOffset() != null) { - _hashCode += getOffset().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(TaskFileOffsetExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskFileOffsetExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("submittedTaskInfoId"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "submittedTaskInfoId")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("fileType"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "fileType")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "SynchronizableFilesExt")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("offset"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "offset")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/TaskSpecificationExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/TaskSpecificationExt.java deleted file mode 100644 index 5a7aff4fdceb00b2d74c975e72fe5392d39c4235..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/TaskSpecificationExt.java +++ /dev/null @@ -1,733 +0,0 @@ -/** - * TaskSpecificationExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class TaskSpecificationExt implements java.io.Serializable { - private java.lang.String name; - - private java.lang.Integer minCores; - - private java.lang.Integer maxCores; - - private java.lang.Integer walltimeLimit; - - private java.lang.String requiredNodes; - - private java.lang.Boolean isExclusive; - - private java.lang.Boolean isRerunnable; - - private java.lang.String standardInputFile; - - private java.lang.String standardOutputFile; - - private java.lang.String standardErrorFile; - - private java.lang.String progressFile; - - private java.lang.String logFile; - - private java.lang.String clusterTaskSubdirectory; - - private java.lang.Long commandTemplateId; - - private cz.it4i.fiji.haas_java_client.proxy.EnvironmentVariableExt[] environmentVariables; - - private cz.it4i.fiji.haas_java_client.proxy.TaskSpecificationExt[] dependsOn; - - private cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterValueExt[] templateParameterValues; - - public TaskSpecificationExt() { - } - - public TaskSpecificationExt( - java.lang.String name, - java.lang.Integer minCores, - java.lang.Integer maxCores, - java.lang.Integer walltimeLimit, - java.lang.String requiredNodes, - java.lang.Boolean isExclusive, - java.lang.Boolean isRerunnable, - java.lang.String standardInputFile, - java.lang.String standardOutputFile, - java.lang.String standardErrorFile, - java.lang.String progressFile, - java.lang.String logFile, - java.lang.String clusterTaskSubdirectory, - java.lang.Long commandTemplateId, - cz.it4i.fiji.haas_java_client.proxy.EnvironmentVariableExt[] environmentVariables, - cz.it4i.fiji.haas_java_client.proxy.TaskSpecificationExt[] dependsOn, - cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterValueExt[] templateParameterValues) { - this.name = name; - this.minCores = minCores; - this.maxCores = maxCores; - this.walltimeLimit = walltimeLimit; - this.requiredNodes = requiredNodes; - this.isExclusive = isExclusive; - this.isRerunnable = isRerunnable; - this.standardInputFile = standardInputFile; - this.standardOutputFile = standardOutputFile; - this.standardErrorFile = standardErrorFile; - this.progressFile = progressFile; - this.logFile = logFile; - this.clusterTaskSubdirectory = clusterTaskSubdirectory; - this.commandTemplateId = commandTemplateId; - this.environmentVariables = environmentVariables; - this.dependsOn = dependsOn; - this.templateParameterValues = templateParameterValues; - } - - - /** - * Gets the name value for this TaskSpecificationExt. - * - * @return name - */ - public java.lang.String getName() { - return name; - } - - - /** - * Sets the name value for this TaskSpecificationExt. - * - * @param name - */ - public void setName(java.lang.String name) { - this.name = name; - } - - - /** - * Gets the minCores value for this TaskSpecificationExt. - * - * @return minCores - */ - public java.lang.Integer getMinCores() { - return minCores; - } - - - /** - * Sets the minCores value for this TaskSpecificationExt. - * - * @param minCores - */ - public void setMinCores(java.lang.Integer minCores) { - this.minCores = minCores; - } - - - /** - * Gets the maxCores value for this TaskSpecificationExt. - * - * @return maxCores - */ - public java.lang.Integer getMaxCores() { - return maxCores; - } - - - /** - * Sets the maxCores value for this TaskSpecificationExt. - * - * @param maxCores - */ - public void setMaxCores(java.lang.Integer maxCores) { - this.maxCores = maxCores; - } - - - /** - * Gets the walltimeLimit value for this TaskSpecificationExt. - * - * @return walltimeLimit - */ - public java.lang.Integer getWalltimeLimit() { - return walltimeLimit; - } - - - /** - * Sets the walltimeLimit value for this TaskSpecificationExt. - * - * @param walltimeLimit - */ - public void setWalltimeLimit(java.lang.Integer walltimeLimit) { - this.walltimeLimit = walltimeLimit; - } - - - /** - * Gets the requiredNodes value for this TaskSpecificationExt. - * - * @return requiredNodes - */ - public java.lang.String getRequiredNodes() { - return requiredNodes; - } - - - /** - * Sets the requiredNodes value for this TaskSpecificationExt. - * - * @param requiredNodes - */ - public void setRequiredNodes(java.lang.String requiredNodes) { - this.requiredNodes = requiredNodes; - } - - - /** - * Gets the isExclusive value for this TaskSpecificationExt. - * - * @return isExclusive - */ - public java.lang.Boolean getIsExclusive() { - return isExclusive; - } - - - /** - * Sets the isExclusive value for this TaskSpecificationExt. - * - * @param isExclusive - */ - public void setIsExclusive(java.lang.Boolean isExclusive) { - this.isExclusive = isExclusive; - } - - - /** - * Gets the isRerunnable value for this TaskSpecificationExt. - * - * @return isRerunnable - */ - public java.lang.Boolean getIsRerunnable() { - return isRerunnable; - } - - - /** - * Sets the isRerunnable value for this TaskSpecificationExt. - * - * @param isRerunnable - */ - public void setIsRerunnable(java.lang.Boolean isRerunnable) { - this.isRerunnable = isRerunnable; - } - - - /** - * Gets the standardInputFile value for this TaskSpecificationExt. - * - * @return standardInputFile - */ - public java.lang.String getStandardInputFile() { - return standardInputFile; - } - - - /** - * Sets the standardInputFile value for this TaskSpecificationExt. - * - * @param standardInputFile - */ - public void setStandardInputFile(java.lang.String standardInputFile) { - this.standardInputFile = standardInputFile; - } - - - /** - * Gets the standardOutputFile value for this TaskSpecificationExt. - * - * @return standardOutputFile - */ - public java.lang.String getStandardOutputFile() { - return standardOutputFile; - } - - - /** - * Sets the standardOutputFile value for this TaskSpecificationExt. - * - * @param standardOutputFile - */ - public void setStandardOutputFile(java.lang.String standardOutputFile) { - this.standardOutputFile = standardOutputFile; - } - - - /** - * Gets the standardErrorFile value for this TaskSpecificationExt. - * - * @return standardErrorFile - */ - public java.lang.String getStandardErrorFile() { - return standardErrorFile; - } - - - /** - * Sets the standardErrorFile value for this TaskSpecificationExt. - * - * @param standardErrorFile - */ - public void setStandardErrorFile(java.lang.String standardErrorFile) { - this.standardErrorFile = standardErrorFile; - } - - - /** - * Gets the progressFile value for this TaskSpecificationExt. - * - * @return progressFile - */ - public java.lang.String getProgressFile() { - return progressFile; - } - - - /** - * Sets the progressFile value for this TaskSpecificationExt. - * - * @param progressFile - */ - public void setProgressFile(java.lang.String progressFile) { - this.progressFile = progressFile; - } - - - /** - * Gets the logFile value for this TaskSpecificationExt. - * - * @return logFile - */ - public java.lang.String getLogFile() { - return logFile; - } - - - /** - * Sets the logFile value for this TaskSpecificationExt. - * - * @param logFile - */ - public void setLogFile(java.lang.String logFile) { - this.logFile = logFile; - } - - - /** - * Gets the clusterTaskSubdirectory value for this TaskSpecificationExt. - * - * @return clusterTaskSubdirectory - */ - public java.lang.String getClusterTaskSubdirectory() { - return clusterTaskSubdirectory; - } - - - /** - * Sets the clusterTaskSubdirectory value for this TaskSpecificationExt. - * - * @param clusterTaskSubdirectory - */ - public void setClusterTaskSubdirectory(java.lang.String clusterTaskSubdirectory) { - this.clusterTaskSubdirectory = clusterTaskSubdirectory; - } - - - /** - * Gets the commandTemplateId value for this TaskSpecificationExt. - * - * @return commandTemplateId - */ - public java.lang.Long getCommandTemplateId() { - return commandTemplateId; - } - - - /** - * Sets the commandTemplateId value for this TaskSpecificationExt. - * - * @param commandTemplateId - */ - public void setCommandTemplateId(java.lang.Long commandTemplateId) { - this.commandTemplateId = commandTemplateId; - } - - - /** - * Gets the environmentVariables value for this TaskSpecificationExt. - * - * @return environmentVariables - */ - public cz.it4i.fiji.haas_java_client.proxy.EnvironmentVariableExt[] getEnvironmentVariables() { - return environmentVariables; - } - - - /** - * Sets the environmentVariables value for this TaskSpecificationExt. - * - * @param environmentVariables - */ - public void setEnvironmentVariables(cz.it4i.fiji.haas_java_client.proxy.EnvironmentVariableExt[] environmentVariables) { - this.environmentVariables = environmentVariables; - } - - - /** - * Gets the dependsOn value for this TaskSpecificationExt. - * - * @return dependsOn - */ - public cz.it4i.fiji.haas_java_client.proxy.TaskSpecificationExt[] getDependsOn() { - return dependsOn; - } - - - /** - * Sets the dependsOn value for this TaskSpecificationExt. - * - * @param dependsOn - */ - public void setDependsOn(cz.it4i.fiji.haas_java_client.proxy.TaskSpecificationExt[] dependsOn) { - this.dependsOn = dependsOn; - } - - - /** - * Gets the templateParameterValues value for this TaskSpecificationExt. - * - * @return templateParameterValues - */ - public cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterValueExt[] getTemplateParameterValues() { - return templateParameterValues; - } - - - /** - * Sets the templateParameterValues value for this TaskSpecificationExt. - * - * @param templateParameterValues - */ - public void setTemplateParameterValues(cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterValueExt[] templateParameterValues) { - this.templateParameterValues = templateParameterValues; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof TaskSpecificationExt)) return false; - TaskSpecificationExt other = (TaskSpecificationExt) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.name==null && other.getName()==null) || - (this.name!=null && - this.name.equals(other.getName()))) && - ((this.minCores==null && other.getMinCores()==null) || - (this.minCores!=null && - this.minCores.equals(other.getMinCores()))) && - ((this.maxCores==null && other.getMaxCores()==null) || - (this.maxCores!=null && - this.maxCores.equals(other.getMaxCores()))) && - ((this.walltimeLimit==null && other.getWalltimeLimit()==null) || - (this.walltimeLimit!=null && - this.walltimeLimit.equals(other.getWalltimeLimit()))) && - ((this.requiredNodes==null && other.getRequiredNodes()==null) || - (this.requiredNodes!=null && - this.requiredNodes.equals(other.getRequiredNodes()))) && - ((this.isExclusive==null && other.getIsExclusive()==null) || - (this.isExclusive!=null && - this.isExclusive.equals(other.getIsExclusive()))) && - ((this.isRerunnable==null && other.getIsRerunnable()==null) || - (this.isRerunnable!=null && - this.isRerunnable.equals(other.getIsRerunnable()))) && - ((this.standardInputFile==null && other.getStandardInputFile()==null) || - (this.standardInputFile!=null && - this.standardInputFile.equals(other.getStandardInputFile()))) && - ((this.standardOutputFile==null && other.getStandardOutputFile()==null) || - (this.standardOutputFile!=null && - this.standardOutputFile.equals(other.getStandardOutputFile()))) && - ((this.standardErrorFile==null && other.getStandardErrorFile()==null) || - (this.standardErrorFile!=null && - this.standardErrorFile.equals(other.getStandardErrorFile()))) && - ((this.progressFile==null && other.getProgressFile()==null) || - (this.progressFile!=null && - this.progressFile.equals(other.getProgressFile()))) && - ((this.logFile==null && other.getLogFile()==null) || - (this.logFile!=null && - this.logFile.equals(other.getLogFile()))) && - ((this.clusterTaskSubdirectory==null && other.getClusterTaskSubdirectory()==null) || - (this.clusterTaskSubdirectory!=null && - this.clusterTaskSubdirectory.equals(other.getClusterTaskSubdirectory()))) && - ((this.commandTemplateId==null && other.getCommandTemplateId()==null) || - (this.commandTemplateId!=null && - this.commandTemplateId.equals(other.getCommandTemplateId()))) && - ((this.environmentVariables==null && other.getEnvironmentVariables()==null) || - (this.environmentVariables!=null && - java.util.Arrays.equals(this.environmentVariables, other.getEnvironmentVariables()))) && - ((this.dependsOn==null && other.getDependsOn()==null) || - (this.dependsOn!=null && - java.util.Arrays.equals(this.dependsOn, other.getDependsOn()))) && - ((this.templateParameterValues==null && other.getTemplateParameterValues()==null) || - (this.templateParameterValues!=null && - java.util.Arrays.equals(this.templateParameterValues, other.getTemplateParameterValues()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getName() != null) { - _hashCode += getName().hashCode(); - } - if (getMinCores() != null) { - _hashCode += getMinCores().hashCode(); - } - if (getMaxCores() != null) { - _hashCode += getMaxCores().hashCode(); - } - if (getWalltimeLimit() != null) { - _hashCode += getWalltimeLimit().hashCode(); - } - if (getRequiredNodes() != null) { - _hashCode += getRequiredNodes().hashCode(); - } - if (getIsExclusive() != null) { - _hashCode += getIsExclusive().hashCode(); - } - if (getIsRerunnable() != null) { - _hashCode += getIsRerunnable().hashCode(); - } - if (getStandardInputFile() != null) { - _hashCode += getStandardInputFile().hashCode(); - } - if (getStandardOutputFile() != null) { - _hashCode += getStandardOutputFile().hashCode(); - } - if (getStandardErrorFile() != null) { - _hashCode += getStandardErrorFile().hashCode(); - } - if (getProgressFile() != null) { - _hashCode += getProgressFile().hashCode(); - } - if (getLogFile() != null) { - _hashCode += getLogFile().hashCode(); - } - if (getClusterTaskSubdirectory() != null) { - _hashCode += getClusterTaskSubdirectory().hashCode(); - } - if (getCommandTemplateId() != null) { - _hashCode += getCommandTemplateId().hashCode(); - } - if (getEnvironmentVariables() != null) { - for (int i=0; - i<java.lang.reflect.Array.getLength(getEnvironmentVariables()); - i++) { - java.lang.Object obj = java.lang.reflect.Array.get(getEnvironmentVariables(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - if (getDependsOn() != null) { - for (int i=0; - i<java.lang.reflect.Array.getLength(getDependsOn()); - i++) { - java.lang.Object obj = java.lang.reflect.Array.get(getDependsOn(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - if (getTemplateParameterValues() != null) { - for (int i=0; - i<java.lang.reflect.Array.getLength(getTemplateParameterValues()); - i++) { - java.lang.Object obj = java.lang.reflect.Array.get(getTemplateParameterValues(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(TaskSpecificationExt.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskSpecificationExt")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("minCores"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "minCores")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("maxCores"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "maxCores")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("walltimeLimit"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "walltimeLimit")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("requiredNodes"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "requiredNodes")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("isExclusive"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "isExclusive")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("isRerunnable"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "isRerunnable")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("standardInputFile"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "standardInputFile")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("standardOutputFile"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "standardOutputFile")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("standardErrorFile"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "standardErrorFile")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("progressFile"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "progressFile")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("logFile"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "logFile")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("clusterTaskSubdirectory"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "clusterTaskSubdirectory")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("commandTemplateId"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "commandTemplateId")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("environmentVariables"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "environmentVariables")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "EnvironmentVariableExt")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "EnvironmentVariableExt")); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("dependsOn"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "dependsOn")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskSpecificationExt")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskSpecificationExt")); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("templateParameterValues"); - elemField.setXmlName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "templateParameterValues")); - elemField.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterValueExt")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterValueExt")); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/TaskStateExt.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/TaskStateExt.java deleted file mode 100644 index 17a78a567957ad78ded38a332222b0efff5d644d..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/TaskStateExt.java +++ /dev/null @@ -1,80 +0,0 @@ -/** - * TaskStateExt.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class TaskStateExt implements java.io.Serializable { - private java.lang.String _value_; - private static java.util.HashMap _table_ = new java.util.HashMap(); - - // Constructor - protected TaskStateExt(java.lang.String value) { - _value_ = value; - _table_.put(_value_,this); - } - - public static final java.lang.String _Configuring = "Configuring"; - public static final java.lang.String _Submitted = "Submitted"; - public static final java.lang.String _Queued = "Queued"; - public static final java.lang.String _Running = "Running"; - public static final java.lang.String _Finished = "Finished"; - public static final java.lang.String _Failed = "Failed"; - public static final java.lang.String _Canceled = "Canceled"; - public static final TaskStateExt Configuring = new TaskStateExt(_Configuring); - public static final TaskStateExt Submitted = new TaskStateExt(_Submitted); - public static final TaskStateExt Queued = new TaskStateExt(_Queued); - public static final TaskStateExt Running = new TaskStateExt(_Running); - public static final TaskStateExt Finished = new TaskStateExt(_Finished); - public static final TaskStateExt Failed = new TaskStateExt(_Failed); - public static final TaskStateExt Canceled = new TaskStateExt(_Canceled); - public java.lang.String getValue() { return _value_;} - public static TaskStateExt fromValue(java.lang.String value) - throws java.lang.IllegalArgumentException { - TaskStateExt enumeration = (TaskStateExt) - _table_.get(value); - if (enumeration==null) throw new java.lang.IllegalArgumentException(); - return enumeration; - } - public static TaskStateExt fromString(java.lang.String value) - throws java.lang.IllegalArgumentException { - return fromValue(value); - } - public boolean equals(java.lang.Object obj) {return (obj == this);} - public int hashCode() { return toString().hashCode();} - public java.lang.String toString() { return _value_;} - public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);} - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.EnumSerializer( - _javaType, _xmlType); - } - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.EnumDeserializer( - _javaType, _xmlType); - } - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(TaskStateExt.class); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "TaskStateExt")); - } - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWs.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWs.java deleted file mode 100644 index 120d51cadcc725c3dd6d5e6701b3483b4a0b25ed..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWs.java +++ /dev/null @@ -1,21 +0,0 @@ -/** - * UserAndLimitationManagementWs.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public interface UserAndLimitationManagementWs extends javax.xml.rpc.Service { - public java.lang.String getUserAndLimitationManagementWsSoapAddress(); - - public cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap getUserAndLimitationManagementWsSoap() throws javax.xml.rpc.ServiceException; - - public cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap getUserAndLimitationManagementWsSoap(java.net.URL portAddress) throws javax.xml.rpc.ServiceException; - public java.lang.String getUserAndLimitationManagementWsSoap12Address(); - - public cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap getUserAndLimitationManagementWsSoap12() throws javax.xml.rpc.ServiceException; - - public cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap getUserAndLimitationManagementWsSoap12(java.net.URL portAddress) throws javax.xml.rpc.ServiceException; -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsLocator.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsLocator.java deleted file mode 100644 index 22e5606eeb413c2dafecfc547d67113164669d25..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsLocator.java +++ /dev/null @@ -1,202 +0,0 @@ -/** - * UserAndLimitationManagementWsLocator.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class UserAndLimitationManagementWsLocator extends org.apache.axis.client.Service implements cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWs { - - public UserAndLimitationManagementWsLocator() { - } - - - public UserAndLimitationManagementWsLocator(org.apache.axis.EngineConfiguration config) { - super(config); - } - - public UserAndLimitationManagementWsLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException { - super(wsdlLoc, sName); - } - - // Use to get a proxy class for UserAndLimitationManagementWsSoap - private java.lang.String UserAndLimitationManagementWsSoap_address = "http://haas.vsb.cz/HaasWsFiji/UserAndLimitationManagementWs.asmx"; - - public java.lang.String getUserAndLimitationManagementWsSoapAddress() { - return UserAndLimitationManagementWsSoap_address; - } - - // The WSDD service name defaults to the port name. - private java.lang.String UserAndLimitationManagementWsSoapWSDDServiceName = "UserAndLimitationManagementWsSoap"; - - public java.lang.String getUserAndLimitationManagementWsSoapWSDDServiceName() { - return UserAndLimitationManagementWsSoapWSDDServiceName; - } - - public void setUserAndLimitationManagementWsSoapWSDDServiceName(java.lang.String name) { - UserAndLimitationManagementWsSoapWSDDServiceName = name; - } - - public cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap getUserAndLimitationManagementWsSoap() throws javax.xml.rpc.ServiceException { - java.net.URL endpoint; - try { - endpoint = new java.net.URL(UserAndLimitationManagementWsSoap_address); - } - catch (java.net.MalformedURLException e) { - throw new javax.xml.rpc.ServiceException(e); - } - return getUserAndLimitationManagementWsSoap(endpoint); - } - - public cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap getUserAndLimitationManagementWsSoap(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { - try { - cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoapStub _stub = new cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoapStub(portAddress, this); - _stub.setPortName(getUserAndLimitationManagementWsSoapWSDDServiceName()); - return _stub; - } - catch (org.apache.axis.AxisFault e) { - return null; - } - } - - public void setUserAndLimitationManagementWsSoapEndpointAddress(java.lang.String address) { - UserAndLimitationManagementWsSoap_address = address; - } - - - // Use to get a proxy class for UserAndLimitationManagementWsSoap12 - private java.lang.String UserAndLimitationManagementWsSoap12_address = "http://haas.vsb.cz/HaasWsFiji/UserAndLimitationManagementWs.asmx"; - - public java.lang.String getUserAndLimitationManagementWsSoap12Address() { - return UserAndLimitationManagementWsSoap12_address; - } - - // The WSDD service name defaults to the port name. - private java.lang.String UserAndLimitationManagementWsSoap12WSDDServiceName = "UserAndLimitationManagementWsSoap12"; - - public java.lang.String getUserAndLimitationManagementWsSoap12WSDDServiceName() { - return UserAndLimitationManagementWsSoap12WSDDServiceName; - } - - public void setUserAndLimitationManagementWsSoap12WSDDServiceName(java.lang.String name) { - UserAndLimitationManagementWsSoap12WSDDServiceName = name; - } - - public cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap getUserAndLimitationManagementWsSoap12() throws javax.xml.rpc.ServiceException { - java.net.URL endpoint; - try { - endpoint = new java.net.URL(UserAndLimitationManagementWsSoap12_address); - } - catch (java.net.MalformedURLException e) { - throw new javax.xml.rpc.ServiceException(e); - } - return getUserAndLimitationManagementWsSoap12(endpoint); - } - - public cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap getUserAndLimitationManagementWsSoap12(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { - try { - cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap12Stub _stub = new cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap12Stub(portAddress, this); - _stub.setPortName(getUserAndLimitationManagementWsSoap12WSDDServiceName()); - return _stub; - } - catch (org.apache.axis.AxisFault e) { - return null; - } - } - - public void setUserAndLimitationManagementWsSoap12EndpointAddress(java.lang.String address) { - UserAndLimitationManagementWsSoap12_address = address; - } - - /** - * For the given interface, get the stub implementation. - * If this service has no port for the given interface, - * then ServiceException is thrown. - * This service has multiple ports for a given interface; - * the proxy implementation returned may be indeterminate. - */ - public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { - try { - if (cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap.class.isAssignableFrom(serviceEndpointInterface)) { - cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoapStub _stub = new cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoapStub(new java.net.URL(UserAndLimitationManagementWsSoap_address), this); - _stub.setPortName(getUserAndLimitationManagementWsSoapWSDDServiceName()); - return _stub; - } - if (cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap.class.isAssignableFrom(serviceEndpointInterface)) { - cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap12Stub _stub = new cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap12Stub(new java.net.URL(UserAndLimitationManagementWsSoap12_address), this); - _stub.setPortName(getUserAndLimitationManagementWsSoap12WSDDServiceName()); - return _stub; - } - } - catch (java.lang.Throwable t) { - throw new javax.xml.rpc.ServiceException(t); - } - throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); - } - - /** - * For the given interface, get the stub implementation. - * If this service has no port for the given interface, - * then ServiceException is thrown. - */ - public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { - if (portName == null) { - return getPort(serviceEndpointInterface); - } - java.lang.String inputPortName = portName.getLocalPart(); - if ("UserAndLimitationManagementWsSoap".equals(inputPortName)) { - return getUserAndLimitationManagementWsSoap(); - } - else if ("UserAndLimitationManagementWsSoap12".equals(inputPortName)) { - return getUserAndLimitationManagementWsSoap12(); - } - else { - java.rmi.Remote _stub = getPort(serviceEndpointInterface); - ((org.apache.axis.client.Stub) _stub).setPortName(portName); - return _stub; - } - } - - public javax.xml.namespace.QName getServiceName() { - return new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "UserAndLimitationManagementWs"); - } - - private java.util.HashSet ports = null; - - public java.util.Iterator getPorts() { - if (ports == null) { - ports = new java.util.HashSet(); - ports.add(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "UserAndLimitationManagementWsSoap")); - ports.add(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "UserAndLimitationManagementWsSoap12")); - } - return ports.iterator(); - } - - /** - * Set the endpoint address for the specified port name. - */ - public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException { - -if ("UserAndLimitationManagementWsSoap".equals(portName)) { - setUserAndLimitationManagementWsSoapEndpointAddress(address); - } - else -if ("UserAndLimitationManagementWsSoap12".equals(portName)) { - setUserAndLimitationManagementWsSoap12EndpointAddress(address); - } - else -{ // Unknown Port Name - throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName); - } - } - - /** - * Set the endpoint address for the specified port name. - */ - public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException { - setEndpointAddress(portName.getLocalPart(), address); - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoap.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoap.java deleted file mode 100644 index d2f9a2b902fd094da1ac2185ca7671632e618d99..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoap.java +++ /dev/null @@ -1,14 +0,0 @@ -/** - * UserAndLimitationManagementWsSoap.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public interface UserAndLimitationManagementWsSoap extends java.rmi.Remote { - public java.lang.String authenticateUserPassword(cz.it4i.fiji.haas_java_client.proxy.PasswordCredentialsExt credentials) throws java.rmi.RemoteException; - public java.lang.String authenticateUserDigitalSignature(cz.it4i.fiji.haas_java_client.proxy.DigitalSignatureCredentialsExt credentials) throws java.rmi.RemoteException; - public cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt[] getCurrentUsageAndLimitationsForCurrentUser(java.lang.String sessionCode) throws java.rmi.RemoteException; -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoap12Stub.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoap12Stub.java deleted file mode 100644 index 8bb083e87ad4ca3cc7e767581d87bbe0626cecc9..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoap12Stub.java +++ /dev/null @@ -1,355 +0,0 @@ -/** - * UserAndLimitationManagementWsSoap12Stub.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class UserAndLimitationManagementWsSoap12Stub extends org.apache.axis.client.Stub implements cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap { - private java.util.Vector cachedSerClasses = new java.util.Vector(); - private java.util.Vector cachedSerQNames = new java.util.Vector(); - private java.util.Vector cachedSerFactories = new java.util.Vector(); - private java.util.Vector cachedDeserFactories = new java.util.Vector(); - - static org.apache.axis.description.OperationDesc [] _operations; - - static { - _operations = new org.apache.axis.description.OperationDesc[3]; - _initOperationDesc1(); - } - - private static void _initOperationDesc1(){ - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("AuthenticateUserPassword"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "credentials"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "PasswordCredentialsExt"), cz.it4i.fiji.haas_java_client.proxy.PasswordCredentialsExt.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - oper.setReturnClass(java.lang.String.class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AuthenticateUserPasswordResult")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[0] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("AuthenticateUserDigitalSignature"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "credentials"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DigitalSignatureCredentialsExt"), cz.it4i.fiji.haas_java_client.proxy.DigitalSignatureCredentialsExt.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - oper.setReturnClass(java.lang.String.class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AuthenticateUserDigitalSignatureResult")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[1] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("GetCurrentUsageAndLimitationsForCurrentUser"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfResourceUsageExt")); - oper.setReturnClass(cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt[].class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "GetCurrentUsageAndLimitationsForCurrentUserResult")); - param = oper.getReturnParamDesc(); - param.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ResourceUsageExt")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[2] = oper; - - } - - public UserAndLimitationManagementWsSoap12Stub() throws org.apache.axis.AxisFault { - this(null); - } - - public UserAndLimitationManagementWsSoap12Stub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - this(service); - super.cachedEndpoint = endpointURL; - } - - public UserAndLimitationManagementWsSoap12Stub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - if (service == null) { - super.service = new org.apache.axis.client.Service(); - } else { - super.service = service; - } - ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2"); - java.lang.Class cls; - javax.xml.namespace.QName qName; - javax.xml.namespace.QName qName2; - java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; - java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; - java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; - java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; - java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; - java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; - java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; - java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; - java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; - java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfByte"); - cachedSerQNames.add(qName); - cls = byte[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "byte"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "byte"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfCommandTemplateExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.CommandTemplateExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfCommandTemplateParameterExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfResourceUsageExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ResourceUsageExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ResourceUsageExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AuthenticationCredentialsExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.AuthenticationCredentialsExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ClusterNodeTypeExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.ClusterNodeTypeExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.CommandTemplateExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DigitalSignatureCredentialsExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.DigitalSignatureCredentialsExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "PasswordCredentialsExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.PasswordCredentialsExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ResourceLimitationExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.ResourceLimitationExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ResourceUsageExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - } - - protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException { - try { - org.apache.axis.client.Call _call = super._createCall(); - if (super.maintainSessionSet) { - _call.setMaintainSession(super.maintainSession); - } - if (super.cachedUsername != null) { - _call.setUsername(super.cachedUsername); - } - if (super.cachedPassword != null) { - _call.setPassword(super.cachedPassword); - } - if (super.cachedEndpoint != null) { - _call.setTargetEndpointAddress(super.cachedEndpoint); - } - if (super.cachedTimeout != null) { - _call.setTimeout(super.cachedTimeout); - } - if (super.cachedPortName != null) { - _call.setPortName(super.cachedPortName); - } - java.util.Enumeration keys = super.cachedProperties.keys(); - while (keys.hasMoreElements()) { - java.lang.String key = (java.lang.String) keys.nextElement(); - _call.setProperty(key, super.cachedProperties.get(key)); - } - // All the type mapping information is registered - // when the first call is made. - // The type mapping information is actually registered in - // the TypeMappingRegistry of the service, which - // is the reason why registration is only needed for the first call. - synchronized (this) { - if (firstCall()) { - // must set encoding style before registering serializers - _call.setEncodingStyle(null); - for (int i = 0; i < cachedSerFactories.size(); ++i) { - java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i); - javax.xml.namespace.QName qName = - (javax.xml.namespace.QName) cachedSerQNames.get(i); - java.lang.Object x = cachedSerFactories.get(i); - if (x instanceof Class) { - java.lang.Class sf = (java.lang.Class) - cachedSerFactories.get(i); - java.lang.Class df = (java.lang.Class) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) { - org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) - cachedSerFactories.get(i); - org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - } - } - } - return _call; - } - catch (java.lang.Throwable _t) { - throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); - } - } - - public java.lang.String authenticateUserPassword(cz.it4i.fiji.haas_java_client.proxy.PasswordCredentialsExt credentials) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[0]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/AuthenticateUserPassword"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP12_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AuthenticateUserPassword")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {credentials}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (java.lang.String) _resp; - } catch (java.lang.Exception _exception) { - return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public java.lang.String authenticateUserDigitalSignature(cz.it4i.fiji.haas_java_client.proxy.DigitalSignatureCredentialsExt credentials) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[1]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/AuthenticateUserDigitalSignature"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP12_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AuthenticateUserDigitalSignature")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {credentials}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (java.lang.String) _resp; - } catch (java.lang.Exception _exception) { - return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt[] getCurrentUsageAndLimitationsForCurrentUser(java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[2]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/GetCurrentUsageAndLimitationsForCurrentUser"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP12_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "GetCurrentUsageAndLimitationsForCurrentUser")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt[]) _resp; - } catch (java.lang.Exception _exception) { - return (cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt[]) org.apache.axis.utils.JavaUtils.convert(_resp, cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - -} diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoapProxy.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoapProxy.java deleted file mode 100644 index 9406ed03bc0585b96a1ad57a70c56eac411eba37..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoapProxy.java +++ /dev/null @@ -1,66 +0,0 @@ -package cz.it4i.fiji.haas_java_client.proxy; - -public class UserAndLimitationManagementWsSoapProxy implements cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap { - private String _endpoint = null; - private cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap userAndLimitationManagementWsSoap = null; - - public UserAndLimitationManagementWsSoapProxy() { - _initUserAndLimitationManagementWsSoapProxy(); - } - - public UserAndLimitationManagementWsSoapProxy(String endpoint) { - _endpoint = endpoint; - _initUserAndLimitationManagementWsSoapProxy(); - } - - private void _initUserAndLimitationManagementWsSoapProxy() { - try { - userAndLimitationManagementWsSoap = (new cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsLocator()).getUserAndLimitationManagementWsSoap(); - if (userAndLimitationManagementWsSoap != null) { - if (_endpoint != null) - ((javax.xml.rpc.Stub)userAndLimitationManagementWsSoap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); - else - _endpoint = (String)((javax.xml.rpc.Stub)userAndLimitationManagementWsSoap)._getProperty("javax.xml.rpc.service.endpoint.address"); - } - - } - catch (javax.xml.rpc.ServiceException serviceException) {} - } - - public String getEndpoint() { - return _endpoint; - } - - public void setEndpoint(String endpoint) { - _endpoint = endpoint; - if (userAndLimitationManagementWsSoap != null) - ((javax.xml.rpc.Stub)userAndLimitationManagementWsSoap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); - - } - - public cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap getUserAndLimitationManagementWsSoap() { - if (userAndLimitationManagementWsSoap == null) - _initUserAndLimitationManagementWsSoapProxy(); - return userAndLimitationManagementWsSoap; - } - - public java.lang.String authenticateUserPassword(cz.it4i.fiji.haas_java_client.proxy.PasswordCredentialsExt credentials) throws java.rmi.RemoteException{ - if (userAndLimitationManagementWsSoap == null) - _initUserAndLimitationManagementWsSoapProxy(); - return userAndLimitationManagementWsSoap.authenticateUserPassword(credentials); - } - - public java.lang.String authenticateUserDigitalSignature(cz.it4i.fiji.haas_java_client.proxy.DigitalSignatureCredentialsExt credentials) throws java.rmi.RemoteException{ - if (userAndLimitationManagementWsSoap == null) - _initUserAndLimitationManagementWsSoapProxy(); - return userAndLimitationManagementWsSoap.authenticateUserDigitalSignature(credentials); - } - - public cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt[] getCurrentUsageAndLimitationsForCurrentUser(java.lang.String sessionCode) throws java.rmi.RemoteException{ - if (userAndLimitationManagementWsSoap == null) - _initUserAndLimitationManagementWsSoapProxy(); - return userAndLimitationManagementWsSoap.getCurrentUsageAndLimitationsForCurrentUser(sessionCode); - } - - -} \ No newline at end of file diff --git a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoapStub.java b/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoapStub.java deleted file mode 100644 index 88715115e8ac6fbe19136ca4bbd856e7f6a1a129..0000000000000000000000000000000000000000 --- a/haas-java-client/src/main/java/cz/it4i/fiji/haas_java_client/proxy/UserAndLimitationManagementWsSoapStub.java +++ /dev/null @@ -1,355 +0,0 @@ -/** - * UserAndLimitationManagementWsSoapStub.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package cz.it4i.fiji.haas_java_client.proxy; - -public class UserAndLimitationManagementWsSoapStub extends org.apache.axis.client.Stub implements cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap { - private java.util.Vector cachedSerClasses = new java.util.Vector(); - private java.util.Vector cachedSerQNames = new java.util.Vector(); - private java.util.Vector cachedSerFactories = new java.util.Vector(); - private java.util.Vector cachedDeserFactories = new java.util.Vector(); - - static org.apache.axis.description.OperationDesc [] _operations; - - static { - _operations = new org.apache.axis.description.OperationDesc[3]; - _initOperationDesc1(); - } - - private static void _initOperationDesc1(){ - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("AuthenticateUserPassword"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "credentials"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "PasswordCredentialsExt"), cz.it4i.fiji.haas_java_client.proxy.PasswordCredentialsExt.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - oper.setReturnClass(java.lang.String.class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AuthenticateUserPasswordResult")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[0] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("AuthenticateUserDigitalSignature"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "credentials"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DigitalSignatureCredentialsExt"), cz.it4i.fiji.haas_java_client.proxy.DigitalSignatureCredentialsExt.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - oper.setReturnClass(java.lang.String.class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AuthenticateUserDigitalSignatureResult")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[1] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("GetCurrentUsageAndLimitationsForCurrentUser"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "sessionCode"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfResourceUsageExt")); - oper.setReturnClass(cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt[].class); - oper.setReturnQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "GetCurrentUsageAndLimitationsForCurrentUserResult")); - param = oper.getReturnParamDesc(); - param.setItemQName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ResourceUsageExt")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[2] = oper; - - } - - public UserAndLimitationManagementWsSoapStub() throws org.apache.axis.AxisFault { - this(null); - } - - public UserAndLimitationManagementWsSoapStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - this(service); - super.cachedEndpoint = endpointURL; - } - - public UserAndLimitationManagementWsSoapStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - if (service == null) { - super.service = new org.apache.axis.client.Service(); - } else { - super.service = service; - } - ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2"); - java.lang.Class cls; - javax.xml.namespace.QName qName; - javax.xml.namespace.QName qName2; - java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; - java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; - java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; - java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; - java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; - java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; - java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; - java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; - java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; - java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfByte"); - cachedSerQNames.add(qName); - cls = byte[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "byte"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "byte"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfCommandTemplateExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.CommandTemplateExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfCommandTemplateParameterExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ArrayOfResourceUsageExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ResourceUsageExt"); - qName2 = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ResourceUsageExt"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AuthenticationCredentialsExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.AuthenticationCredentialsExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ClusterNodeTypeExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.ClusterNodeTypeExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.CommandTemplateExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "CommandTemplateParameterExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.CommandTemplateParameterExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "DigitalSignatureCredentialsExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.DigitalSignatureCredentialsExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "PasswordCredentialsExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.PasswordCredentialsExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ResourceLimitationExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.ResourceLimitationExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "ResourceUsageExt"); - cachedSerQNames.add(qName); - cls = cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - } - - protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException { - try { - org.apache.axis.client.Call _call = super._createCall(); - if (super.maintainSessionSet) { - _call.setMaintainSession(super.maintainSession); - } - if (super.cachedUsername != null) { - _call.setUsername(super.cachedUsername); - } - if (super.cachedPassword != null) { - _call.setPassword(super.cachedPassword); - } - if (super.cachedEndpoint != null) { - _call.setTargetEndpointAddress(super.cachedEndpoint); - } - if (super.cachedTimeout != null) { - _call.setTimeout(super.cachedTimeout); - } - if (super.cachedPortName != null) { - _call.setPortName(super.cachedPortName); - } - java.util.Enumeration keys = super.cachedProperties.keys(); - while (keys.hasMoreElements()) { - java.lang.String key = (java.lang.String) keys.nextElement(); - _call.setProperty(key, super.cachedProperties.get(key)); - } - // All the type mapping information is registered - // when the first call is made. - // The type mapping information is actually registered in - // the TypeMappingRegistry of the service, which - // is the reason why registration is only needed for the first call. - synchronized (this) { - if (firstCall()) { - // must set encoding style before registering serializers - _call.setEncodingStyle(null); - for (int i = 0; i < cachedSerFactories.size(); ++i) { - java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i); - javax.xml.namespace.QName qName = - (javax.xml.namespace.QName) cachedSerQNames.get(i); - java.lang.Object x = cachedSerFactories.get(i); - if (x instanceof Class) { - java.lang.Class sf = (java.lang.Class) - cachedSerFactories.get(i); - java.lang.Class df = (java.lang.Class) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) { - org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) - cachedSerFactories.get(i); - org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - } - } - } - return _call; - } - catch (java.lang.Throwable _t) { - throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); - } - } - - public java.lang.String authenticateUserPassword(cz.it4i.fiji.haas_java_client.proxy.PasswordCredentialsExt credentials) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[0]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/AuthenticateUserPassword"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AuthenticateUserPassword")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {credentials}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (java.lang.String) _resp; - } catch (java.lang.Exception _exception) { - return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public java.lang.String authenticateUserDigitalSignature(cz.it4i.fiji.haas_java_client.proxy.DigitalSignatureCredentialsExt credentials) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[1]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/AuthenticateUserDigitalSignature"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "AuthenticateUserDigitalSignature")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {credentials}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (java.lang.String) _resp; - } catch (java.lang.Exception _exception) { - return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - - public cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt[] getCurrentUsageAndLimitationsForCurrentUser(java.lang.String sessionCode) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[2]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI("http://hpcaas.it4i.cz/GetCurrentUsageAndLimitationsForCurrentUser"); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://hpcaas.it4i.cz/", "GetCurrentUsageAndLimitationsForCurrentUser")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {sessionCode}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - try { - return (cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt[]) _resp; - } catch (java.lang.Exception _exception) { - return (cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt[]) org.apache.axis.utils.JavaUtils.convert(_resp, cz.it4i.fiji.haas_java_client.proxy.ResourceUsageExt[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - -} diff --git a/haas-java-client/src/test/java/cz/it4i/fiji/haas_java_client/GetJobInfo.java b/haas-java-client/src/test/java/cz/it4i/fiji/haas_java_client/GetJobInfo.java new file mode 100644 index 0000000000000000000000000000000000000000..084b332bb94a5d59ea3623823bf2bf6d8c57da58 --- /dev/null +++ b/haas-java-client/src/test/java/cz/it4i/fiji/haas_java_client/GetJobInfo.java @@ -0,0 +1,37 @@ +package cz.it4i.fiji.haas_java_client; + +import java.io.IOException; + +import javax.xml.rpc.ServiceException; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import cz.it4i.fiji.haas_java_client.proxy.JobManagementWs; +import cz.it4i.fiji.haas_java_client.proxy.JobManagementWsSoap; +import cz.it4i.fiji.haas_java_client.proxy.PasswordCredentialsExt; +import cz.it4i.fiji.haas_java_client.proxy.SubmittedJobInfoExt; +import cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWs; +import cz.it4i.fiji.haas_java_client.proxy.UserAndLimitationManagementWsSoap; + +public class GetJobInfo { + + public static Logger log = LoggerFactory.getLogger(cz.it4i.fiji.haas_java_client.GetJobInfo.class); + + public static void main(String[] args) throws ServiceException, IOException { + Settings settings = SettingsProvider.getSettings(1l, 600, 7l, "OPEN-12-20", TestingConstants.CONFIGURATION_FILE_NAME); + HaaSClient client = new HaaSClient(settings); + JobInfo ji = client.obtainJobInfo(334); + System.out.println("created: " + ji.getCreationTime()); + JobManagementWsSoap ws = new JobManagementWs().getJobManagementWsSoap(); + UserAndLimitationManagementWsSoap wsuser = new UserAndLimitationManagementWs().getUserAndLimitationManagementWsSoap(); + PasswordCredentialsExt ps = new PasswordCredentialsExt(); + ps.setUsername(settings.getUserName()); + ps.setPassword(settings.getPassword()); + String session = wsuser.authenticateUserPassword(ps); + SubmittedJobInfoExt info = ws.getCurrentInfoForJob(334, session); + System.out.println("created: " + info.getCreationTime().toGregorianCalendar()); + + } + +} diff --git a/haas-java-client/src/wsdl/DataTransferWs.wsdl b/haas-java-client/src/wsdl/DataTransferWs.wsdl new file mode 100644 index 0000000000000000000000000000000000000000..dfa4897e697c864092a25a99fc3d62cb97449a4b --- /dev/null +++ b/haas-java-client/src/wsdl/DataTransferWs.wsdl @@ -0,0 +1,203 @@ +<?xml version="1.0" encoding="UTF-8"?> +<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://hpcaas.it4i.cz/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://hpcaas.it4i.cz/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://hpcaas.it4i.cz/"> + <s:element name="GetDataTransferMethod"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ipAddress" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="port" type="s:int"/> + <s:element minOccurs="1" maxOccurs="1" name="submittedJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="GetDataTransferMethodResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="GetDataTransferMethodResult" type="tns:DataTransferMethodExt"/> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="DataTransferMethodExt"> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="submittedJobId" nillable="true" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="ipAddress" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="port" nillable="true" type="s:int"/> + </s:sequence> + </s:complexType> + <s:element name="EndDataTransfer"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="usedTransferMethod" type="tns:DataTransferMethodExt"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="EndDataTransferResponse"> + <s:complexType/> + </s:element> + <s:element name="SendDataToJobNode"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="data" type="s:base64Binary"/> + <s:element minOccurs="1" maxOccurs="1" name="submittedJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="ipAddress" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="SendDataToJobNodeResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="SendDataToJobNodeResult" type="s:int"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="ReadDataFromJobNode"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="submittedJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="ipAddress" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="ReadDataFromJobNodeResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ReadDataFromJobNodeResult" type="s:base64Binary"/> + </s:sequence> + </s:complexType> + </s:element> + </s:schema> + </wsdl:types> + <wsdl:message name="GetDataTransferMethodSoapIn"> + <wsdl:part name="parameters" element="tns:GetDataTransferMethod"/> + </wsdl:message> + <wsdl:message name="GetDataTransferMethodSoapOut"> + <wsdl:part name="parameters" element="tns:GetDataTransferMethodResponse"/> + </wsdl:message> + <wsdl:message name="EndDataTransferSoapIn"> + <wsdl:part name="parameters" element="tns:EndDataTransfer"/> + </wsdl:message> + <wsdl:message name="EndDataTransferSoapOut"> + <wsdl:part name="parameters" element="tns:EndDataTransferResponse"/> + </wsdl:message> + <wsdl:message name="SendDataToJobNodeSoapIn"> + <wsdl:part name="parameters" element="tns:SendDataToJobNode"/> + </wsdl:message> + <wsdl:message name="SendDataToJobNodeSoapOut"> + <wsdl:part name="parameters" element="tns:SendDataToJobNodeResponse"/> + </wsdl:message> + <wsdl:message name="ReadDataFromJobNodeSoapIn"> + <wsdl:part name="parameters" element="tns:ReadDataFromJobNode"/> + </wsdl:message> + <wsdl:message name="ReadDataFromJobNodeSoapOut"> + <wsdl:part name="parameters" element="tns:ReadDataFromJobNodeResponse"/> + </wsdl:message> + <wsdl:portType name="DataTransferWsSoap"> + <wsdl:operation name="GetDataTransferMethod"> + <wsdl:input message="tns:GetDataTransferMethodSoapIn"/> + <wsdl:output message="tns:GetDataTransferMethodSoapOut"/> + </wsdl:operation> + <wsdl:operation name="EndDataTransfer"> + <wsdl:input message="tns:EndDataTransferSoapIn"/> + <wsdl:output message="tns:EndDataTransferSoapOut"/> + </wsdl:operation> + <wsdl:operation name="SendDataToJobNode"> + <wsdl:input message="tns:SendDataToJobNodeSoapIn"/> + <wsdl:output message="tns:SendDataToJobNodeSoapOut"/> + </wsdl:operation> + <wsdl:operation name="ReadDataFromJobNode"> + <wsdl:input message="tns:ReadDataFromJobNodeSoapIn"/> + <wsdl:output message="tns:ReadDataFromJobNodeSoapOut"/> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DataTransferWsSoap" type="tns:DataTransferWsSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="GetDataTransferMethod"> + <soap:operation soapAction="http://hpcaas.it4i.cz/GetDataTransferMethod" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="EndDataTransfer"> + <soap:operation soapAction="http://hpcaas.it4i.cz/EndDataTransfer" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="SendDataToJobNode"> + <soap:operation soapAction="http://hpcaas.it4i.cz/SendDataToJobNode" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="ReadDataFromJobNode"> + <soap:operation soapAction="http://hpcaas.it4i.cz/ReadDataFromJobNode" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DataTransferWsSoap12" type="tns:DataTransferWsSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="GetDataTransferMethod"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/GetDataTransferMethod" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="EndDataTransfer"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/EndDataTransfer" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="SendDataToJobNode"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/SendDataToJobNode" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="ReadDataFromJobNode"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/ReadDataFromJobNode" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DataTransferWs"> + <wsdl:port name="DataTransferWsSoap" binding="tns:DataTransferWsSoap"> + <soap:address location="http://haas.vsb.cz/HaasWsFiji/DataTransferWs.asmx"/> + </wsdl:port> + <wsdl:port name="DataTransferWsSoap12" binding="tns:DataTransferWsSoap12"> + <soap12:address location="http://haas.vsb.cz/HaasWsFiji/DataTransferWs.asmx"/> + </wsdl:port> + </wsdl:service> +</wsdl:definitions> \ No newline at end of file diff --git a/haas-java-client/src/wsdl/FileTransferWs.wsdl b/haas-java-client/src/wsdl/FileTransferWs.wsdl new file mode 100644 index 0000000000000000000000000000000000000000..8c2455363da05aaa33a9255842abbaab5d8b6fb5 --- /dev/null +++ b/haas-java-client/src/wsdl/FileTransferWs.wsdl @@ -0,0 +1,305 @@ +<?xml version="1.0" encoding="UTF-8"?> +<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://hpcaas.it4i.cz/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://hpcaas.it4i.cz/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://hpcaas.it4i.cz/"> + <s:element name="GetFileTransferMethod"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="submittedJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="GetFileTransferMethodResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="GetFileTransferMethodResult" type="tns:FileTransferMethodExt"/> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="FileTransferMethodExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="serverHostname" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="sharedBasepath" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="protocol" nillable="true" type="tns:FileTransferProtocolExt"/> + <s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:AsymmetricKeyCredentialsExt"/> + </s:sequence> + </s:complexType> + <s:simpleType name="FileTransferProtocolExt"> + <s:restriction base="s:string"> + <s:enumeration value="NetworkShare"/> + <s:enumeration value="SftpScp"/> + </s:restriction> + </s:simpleType> + <s:complexType name="AsymmetricKeyCredentialsExt"> + <s:complexContent mixed="false"> + <s:extension base="tns:AuthenticationCredentialsExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="privateKey" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="publicKey" type="s:string"/> + </s:sequence> + </s:extension> + </s:complexContent> + </s:complexType> + <s:complexType name="AuthenticationCredentialsExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="username" type="s:string"/> + </s:sequence> + </s:complexType> + <s:element name="EndFileTransfer"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="submittedJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="usedTransferMethod" type="tns:FileTransferMethodExt"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="EndFileTransferResponse"> + <s:complexType/> + </s:element> + <s:element name="DownloadPartsOfJobFilesFromCluster"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="submittedJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="taskFileOffsets" type="tns:ArrayOfTaskFileOffsetExt"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfTaskFileOffsetExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="TaskFileOffsetExt" nillable="true" type="tns:TaskFileOffsetExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="TaskFileOffsetExt"> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="submittedTaskInfoId" nillable="true" type="s:long"/> + <s:element minOccurs="1" maxOccurs="1" name="fileType" nillable="true" type="tns:SynchronizableFilesExt"/> + <s:element minOccurs="1" maxOccurs="1" name="offset" nillable="true" type="s:long"/> + </s:sequence> + </s:complexType> + <s:simpleType name="SynchronizableFilesExt"> + <s:restriction base="s:string"> + <s:enumeration value="LogFile"/> + <s:enumeration value="ProgressFile"/> + <s:enumeration value="StandardErrorFile"/> + <s:enumeration value="StandardOutputFile"/> + </s:restriction> + </s:simpleType> + <s:element name="DownloadPartsOfJobFilesFromClusterResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DownloadPartsOfJobFilesFromClusterResult" type="tns:ArrayOfJobFileContentExt"/> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfJobFileContentExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="JobFileContentExt" nillable="true" type="tns:JobFileContentExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="JobFileContentExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="content" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="relativePath" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="offset" nillable="true" type="s:long"/> + <s:element minOccurs="1" maxOccurs="1" name="fileType" nillable="true" type="tns:SynchronizableFilesExt"/> + <s:element minOccurs="1" maxOccurs="1" name="submittedTaskInfoId" nillable="true" type="s:long"/> + </s:sequence> + </s:complexType> + <s:element name="ListChangedFilesForJob"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="submittedJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="ListChangedFilesForJobResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ListChangedFilesForJobResult" type="tns:ArrayOfString"/> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfString"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string"/> + </s:sequence> + </s:complexType> + <s:element name="DownloadFileFromCluster"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="submittedJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="relativeFilePath" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DownloadFileFromClusterResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DownloadFileFromClusterResult" type="s:base64Binary"/> + </s:sequence> + </s:complexType> + </s:element> + </s:schema> + </wsdl:types> + <wsdl:message name="GetFileTransferMethodSoapIn"> + <wsdl:part name="parameters" element="tns:GetFileTransferMethod"/> + </wsdl:message> + <wsdl:message name="GetFileTransferMethodSoapOut"> + <wsdl:part name="parameters" element="tns:GetFileTransferMethodResponse"/> + </wsdl:message> + <wsdl:message name="EndFileTransferSoapIn"> + <wsdl:part name="parameters" element="tns:EndFileTransfer"/> + </wsdl:message> + <wsdl:message name="EndFileTransferSoapOut"> + <wsdl:part name="parameters" element="tns:EndFileTransferResponse"/> + </wsdl:message> + <wsdl:message name="DownloadPartsOfJobFilesFromClusterSoapIn"> + <wsdl:part name="parameters" element="tns:DownloadPartsOfJobFilesFromCluster"/> + </wsdl:message> + <wsdl:message name="DownloadPartsOfJobFilesFromClusterSoapOut"> + <wsdl:part name="parameters" element="tns:DownloadPartsOfJobFilesFromClusterResponse"/> + </wsdl:message> + <wsdl:message name="ListChangedFilesForJobSoapIn"> + <wsdl:part name="parameters" element="tns:ListChangedFilesForJob"/> + </wsdl:message> + <wsdl:message name="ListChangedFilesForJobSoapOut"> + <wsdl:part name="parameters" element="tns:ListChangedFilesForJobResponse"/> + </wsdl:message> + <wsdl:message name="DownloadFileFromClusterSoapIn"> + <wsdl:part name="parameters" element="tns:DownloadFileFromCluster"/> + </wsdl:message> + <wsdl:message name="DownloadFileFromClusterSoapOut"> + <wsdl:part name="parameters" element="tns:DownloadFileFromClusterResponse"/> + </wsdl:message> + <wsdl:portType name="FileTransferWsSoap"> + <wsdl:operation name="GetFileTransferMethod"> + <wsdl:input message="tns:GetFileTransferMethodSoapIn"/> + <wsdl:output message="tns:GetFileTransferMethodSoapOut"/> + </wsdl:operation> + <wsdl:operation name="EndFileTransfer"> + <wsdl:input message="tns:EndFileTransferSoapIn"/> + <wsdl:output message="tns:EndFileTransferSoapOut"/> + </wsdl:operation> + <wsdl:operation name="DownloadPartsOfJobFilesFromCluster"> + <wsdl:input message="tns:DownloadPartsOfJobFilesFromClusterSoapIn"/> + <wsdl:output message="tns:DownloadPartsOfJobFilesFromClusterSoapOut"/> + </wsdl:operation> + <wsdl:operation name="ListChangedFilesForJob"> + <wsdl:input message="tns:ListChangedFilesForJobSoapIn"/> + <wsdl:output message="tns:ListChangedFilesForJobSoapOut"/> + </wsdl:operation> + <wsdl:operation name="DownloadFileFromCluster"> + <wsdl:input message="tns:DownloadFileFromClusterSoapIn"/> + <wsdl:output message="tns:DownloadFileFromClusterSoapOut"/> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="FileTransferWsSoap" type="tns:FileTransferWsSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="GetFileTransferMethod"> + <soap:operation soapAction="http://hpcaas.it4i.cz/GetFileTransferMethod" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="EndFileTransfer"> + <soap:operation soapAction="http://hpcaas.it4i.cz/EndFileTransfer" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DownloadPartsOfJobFilesFromCluster"> + <soap:operation soapAction="http://hpcaas.it4i.cz/DownloadPartsOfJobFilesFromCluster" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="ListChangedFilesForJob"> + <soap:operation soapAction="http://hpcaas.it4i.cz/ListChangedFilesForJob" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DownloadFileFromCluster"> + <soap:operation soapAction="http://hpcaas.it4i.cz/DownloadFileFromCluster" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="FileTransferWsSoap12" type="tns:FileTransferWsSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="GetFileTransferMethod"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/GetFileTransferMethod" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="EndFileTransfer"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/EndFileTransfer" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DownloadPartsOfJobFilesFromCluster"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/DownloadPartsOfJobFilesFromCluster" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="ListChangedFilesForJob"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/ListChangedFilesForJob" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DownloadFileFromCluster"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/DownloadFileFromCluster" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="FileTransferWs"> + <wsdl:port name="FileTransferWsSoap" binding="tns:FileTransferWsSoap"> + <soap:address location="http://haas.vsb.cz/HaasWsFiji/FileTransferWs.asmx"/> + </wsdl:port> + <wsdl:port name="FileTransferWsSoap12" binding="tns:FileTransferWsSoap12"> + <soap12:address location="http://haas.vsb.cz/HaasWsFiji/FileTransferWs.asmx"/> + </wsdl:port> + </wsdl:service> +</wsdl:definitions> \ No newline at end of file diff --git a/haas-java-client/src/wsdl/JobManagementWs.wsdl b/haas-java-client/src/wsdl/JobManagementWs.wsdl new file mode 100644 index 0000000000000000000000000000000000000000..c7f08a62f83594fb86c3e8d2595139f7e6fa6eb9 --- /dev/null +++ b/haas-java-client/src/wsdl/JobManagementWs.wsdl @@ -0,0 +1,582 @@ +<?xml version="1.0" encoding="UTF-8"?> +<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://hpcaas.it4i.cz/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://hpcaas.it4i.cz/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://hpcaas.it4i.cz/"> + <s:element name="CreateJob"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="specification" type="tns:JobSpecificationExt"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="JobSpecificationExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="minCores" nillable="true" type="s:int"/> + <s:element minOccurs="1" maxOccurs="1" name="maxCores" nillable="true" type="s:int"/> + <s:element minOccurs="1" maxOccurs="1" name="priority" nillable="true" type="tns:JobPriorityExt"/> + <s:element minOccurs="0" maxOccurs="1" name="project" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="waitingLimit" nillable="true" type="s:int"/> + <s:element minOccurs="1" maxOccurs="1" name="walltimeLimit" nillable="true" type="s:int"/> + <s:element minOccurs="0" maxOccurs="1" name="notificationEmail" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="phoneNumber" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="notifyOnAbort" nillable="true" type="s:boolean"/> + <s:element minOccurs="1" maxOccurs="1" name="notifyOnFinish" nillable="true" type="s:boolean"/> + <s:element minOccurs="1" maxOccurs="1" name="notifyOnStart" nillable="true" type="s:boolean"/> + <s:element minOccurs="1" maxOccurs="1" name="clusterNodeTypeId" nillable="true" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="environmentVariables" type="tns:ArrayOfEnvironmentVariableExt"/> + <s:element minOccurs="0" maxOccurs="1" name="tasks" type="tns:ArrayOfTaskSpecificationExt"/> + </s:sequence> + </s:complexType> + <s:simpleType name="JobPriorityExt"> + <s:restriction base="s:string"> + <s:enumeration value="Lowest"/> + <s:enumeration value="VeryLow"/> + <s:enumeration value="Low"/> + <s:enumeration value="BelowAverage"/> + <s:enumeration value="Average"/> + <s:enumeration value="AboveAverage"/> + <s:enumeration value="High"/> + <s:enumeration value="VeryHigh"/> + <s:enumeration value="Critical"/> + </s:restriction> + </s:simpleType> + <s:complexType name="ArrayOfEnvironmentVariableExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="EnvironmentVariableExt" nillable="true" type="tns:EnvironmentVariableExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="EnvironmentVariableExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="value" type="s:string"/> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfTaskSpecificationExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="TaskSpecificationExt" nillable="true" type="tns:TaskSpecificationExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="TaskSpecificationExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="minCores" nillable="true" type="s:int"/> + <s:element minOccurs="1" maxOccurs="1" name="maxCores" nillable="true" type="s:int"/> + <s:element minOccurs="1" maxOccurs="1" name="walltimeLimit" nillable="true" type="s:int"/> + <s:element minOccurs="0" maxOccurs="1" name="requiredNodes" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="isExclusive" nillable="true" type="s:boolean"/> + <s:element minOccurs="1" maxOccurs="1" name="isRerunnable" nillable="true" type="s:boolean"/> + <s:element minOccurs="0" maxOccurs="1" name="standardInputFile" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="standardOutputFile" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="standardErrorFile" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="progressFile" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="logFile" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="clusterTaskSubdirectory" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="commandTemplateId" nillable="true" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="environmentVariables" type="tns:ArrayOfEnvironmentVariableExt"/> + <s:element minOccurs="0" maxOccurs="1" name="dependsOn" type="tns:ArrayOfTaskSpecificationExt"/> + <s:element minOccurs="0" maxOccurs="1" name="templateParameterValues" type="tns:ArrayOfCommandTemplateParameterValueExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfCommandTemplateParameterValueExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="CommandTemplateParameterValueExt" nillable="true" type="tns:CommandTemplateParameterValueExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="CommandTemplateParameterValueExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="commandParameterIdentifier" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="parameterValue" type="s:string"/> + </s:sequence> + </s:complexType> + <s:element name="CreateJobResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="CreateJobResult" type="tns:SubmittedJobInfoExt"/> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="SubmittedJobInfoExt"> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="id" nillable="true" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="state" nillable="true" type="tns:JobStateExt"/> + <s:element minOccurs="1" maxOccurs="1" name="priority" nillable="true" type="tns:JobPriorityExt"/> + <s:element minOccurs="0" maxOccurs="1" name="project" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="creationTime" nillable="true" type="s:dateTime"/> + <s:element minOccurs="1" maxOccurs="1" name="submitTime" nillable="true" type="s:dateTime"/> + <s:element minOccurs="1" maxOccurs="1" name="startTime" nillable="true" type="s:dateTime"/> + <s:element minOccurs="1" maxOccurs="1" name="endTime" nillable="true" type="s:dateTime"/> + <s:element minOccurs="1" maxOccurs="1" name="totalAllocatedTime" nillable="true" type="s:double"/> + <s:element minOccurs="0" maxOccurs="1" name="allParameters" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="nodeType" type="tns:ClusterNodeTypeExt"/> + <s:element minOccurs="0" maxOccurs="1" name="tasks" type="tns:ArrayOfSubmittedTaskInfoExt"/> + </s:sequence> + </s:complexType> + <s:simpleType name="JobStateExt"> + <s:restriction base="s:string"> + <s:enumeration value="Configuring"/> + <s:enumeration value="Submitted"/> + <s:enumeration value="Queued"/> + <s:enumeration value="Running"/> + <s:enumeration value="Finished"/> + <s:enumeration value="Failed"/> + <s:enumeration value="Canceled"/> + </s:restriction> + </s:simpleType> + <s:complexType name="ClusterNodeTypeExt"> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="id" nillable="true" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="description" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="numberOfNodes" nillable="true" type="s:int"/> + <s:element minOccurs="1" maxOccurs="1" name="coresPerNode" nillable="true" type="s:int"/> + <s:element minOccurs="1" maxOccurs="1" name="maxWalltime" nillable="true" type="s:int"/> + <s:element minOccurs="0" maxOccurs="1" name="possibleCommands" type="tns:ArrayOfCommandTemplateExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfCommandTemplateExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="CommandTemplateExt" nillable="true" type="tns:CommandTemplateExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="CommandTemplateExt"> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="id" nillable="true" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="description" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="code" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="templateParameters" type="tns:ArrayOfCommandTemplateParameterExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfCommandTemplateParameterExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="CommandTemplateParameterExt" nillable="true" type="tns:CommandTemplateParameterExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="CommandTemplateParameterExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="identifier" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="description" type="s:string"/> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfSubmittedTaskInfoExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="SubmittedTaskInfoExt" nillable="true" type="tns:SubmittedTaskInfoExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="SubmittedTaskInfoExt"> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="id" nillable="true" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="state" nillable="true" type="tns:TaskStateExt"/> + <s:element minOccurs="1" maxOccurs="1" name="allocatedTime" nillable="true" type="s:double"/> + <s:element minOccurs="0" maxOccurs="1" name="allocatedCoreIds" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="startTime" nillable="true" type="s:dateTime"/> + <s:element minOccurs="1" maxOccurs="1" name="endTime" nillable="true" type="s:dateTime"/> + <s:element minOccurs="0" maxOccurs="1" name="errorMessage" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="allParameters" type="s:string"/> + </s:sequence> + </s:complexType> + <s:simpleType name="TaskStateExt"> + <s:restriction base="s:string"> + <s:enumeration value="Configuring"/> + <s:enumeration value="Submitted"/> + <s:enumeration value="Queued"/> + <s:enumeration value="Running"/> + <s:enumeration value="Finished"/> + <s:enumeration value="Failed"/> + <s:enumeration value="Canceled"/> + </s:restriction> + </s:simpleType> + <s:element name="SubmitJob"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="createdJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="SubmitJobResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="SubmitJobResult" type="tns:SubmittedJobInfoExt"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="CancelJob"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="submittedJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="CancelJobResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="CancelJobResult" type="tns:SubmittedJobInfoExt"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DeleteJob"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="submittedJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DeleteJobResponse"> + <s:complexType/> + </s:element> + <s:element name="ListJobsForCurrentUser"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="ListJobsForCurrentUserResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ListJobsForCurrentUserResult" type="tns:ArrayOfSubmittedJobInfoExt"/> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfSubmittedJobInfoExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="SubmittedJobInfoExt" nillable="true" type="tns:SubmittedJobInfoExt"/> + </s:sequence> + </s:complexType> + <s:element name="GetCurrentInfoForJob"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="submittedJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="GetCurrentInfoForJobResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="GetCurrentInfoForJobResult" type="tns:SubmittedJobInfoExt"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="CopyJobDataToTemp"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="submittedJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="path" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="CopyJobDataToTempResponse"> + <s:complexType/> + </s:element> + <s:element name="CopyJobDataFromTemp"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="createdJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="tempSessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="CopyJobDataFromTempResponse"> + <s:complexType/> + </s:element> + <s:element name="GetAllocatedNodesIPs"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="submittedJobInfoId" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="GetAllocatedNodesIPsResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="GetAllocatedNodesIPsResult" type="tns:ArrayOfString"/> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfString"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string"/> + </s:sequence> + </s:complexType> + </s:schema> + </wsdl:types> + <wsdl:message name="CreateJobSoapIn"> + <wsdl:part name="parameters" element="tns:CreateJob"/> + </wsdl:message> + <wsdl:message name="CreateJobSoapOut"> + <wsdl:part name="parameters" element="tns:CreateJobResponse"/> + </wsdl:message> + <wsdl:message name="SubmitJobSoapIn"> + <wsdl:part name="parameters" element="tns:SubmitJob"/> + </wsdl:message> + <wsdl:message name="SubmitJobSoapOut"> + <wsdl:part name="parameters" element="tns:SubmitJobResponse"/> + </wsdl:message> + <wsdl:message name="CancelJobSoapIn"> + <wsdl:part name="parameters" element="tns:CancelJob"/> + </wsdl:message> + <wsdl:message name="CancelJobSoapOut"> + <wsdl:part name="parameters" element="tns:CancelJobResponse"/> + </wsdl:message> + <wsdl:message name="DeleteJobSoapIn"> + <wsdl:part name="parameters" element="tns:DeleteJob"/> + </wsdl:message> + <wsdl:message name="DeleteJobSoapOut"> + <wsdl:part name="parameters" element="tns:DeleteJobResponse"/> + </wsdl:message> + <wsdl:message name="ListJobsForCurrentUserSoapIn"> + <wsdl:part name="parameters" element="tns:ListJobsForCurrentUser"/> + </wsdl:message> + <wsdl:message name="ListJobsForCurrentUserSoapOut"> + <wsdl:part name="parameters" element="tns:ListJobsForCurrentUserResponse"/> + </wsdl:message> + <wsdl:message name="GetCurrentInfoForJobSoapIn"> + <wsdl:part name="parameters" element="tns:GetCurrentInfoForJob"/> + </wsdl:message> + <wsdl:message name="GetCurrentInfoForJobSoapOut"> + <wsdl:part name="parameters" element="tns:GetCurrentInfoForJobResponse"/> + </wsdl:message> + <wsdl:message name="CopyJobDataToTempSoapIn"> + <wsdl:part name="parameters" element="tns:CopyJobDataToTemp"/> + </wsdl:message> + <wsdl:message name="CopyJobDataToTempSoapOut"> + <wsdl:part name="parameters" element="tns:CopyJobDataToTempResponse"/> + </wsdl:message> + <wsdl:message name="CopyJobDataFromTempSoapIn"> + <wsdl:part name="parameters" element="tns:CopyJobDataFromTemp"/> + </wsdl:message> + <wsdl:message name="CopyJobDataFromTempSoapOut"> + <wsdl:part name="parameters" element="tns:CopyJobDataFromTempResponse"/> + </wsdl:message> + <wsdl:message name="GetAllocatedNodesIPsSoapIn"> + <wsdl:part name="parameters" element="tns:GetAllocatedNodesIPs"/> + </wsdl:message> + <wsdl:message name="GetAllocatedNodesIPsSoapOut"> + <wsdl:part name="parameters" element="tns:GetAllocatedNodesIPsResponse"/> + </wsdl:message> + <wsdl:portType name="JobManagementWsSoap"> + <wsdl:operation name="CreateJob"> + <wsdl:input message="tns:CreateJobSoapIn"/> + <wsdl:output message="tns:CreateJobSoapOut"/> + </wsdl:operation> + <wsdl:operation name="SubmitJob"> + <wsdl:input message="tns:SubmitJobSoapIn"/> + <wsdl:output message="tns:SubmitJobSoapOut"/> + </wsdl:operation> + <wsdl:operation name="CancelJob"> + <wsdl:input message="tns:CancelJobSoapIn"/> + <wsdl:output message="tns:CancelJobSoapOut"/> + </wsdl:operation> + <wsdl:operation name="DeleteJob"> + <wsdl:input message="tns:DeleteJobSoapIn"/> + <wsdl:output message="tns:DeleteJobSoapOut"/> + </wsdl:operation> + <wsdl:operation name="ListJobsForCurrentUser"> + <wsdl:input message="tns:ListJobsForCurrentUserSoapIn"/> + <wsdl:output message="tns:ListJobsForCurrentUserSoapOut"/> + </wsdl:operation> + <wsdl:operation name="GetCurrentInfoForJob"> + <wsdl:input message="tns:GetCurrentInfoForJobSoapIn"/> + <wsdl:output message="tns:GetCurrentInfoForJobSoapOut"/> + </wsdl:operation> + <wsdl:operation name="CopyJobDataToTemp"> + <wsdl:input message="tns:CopyJobDataToTempSoapIn"/> + <wsdl:output message="tns:CopyJobDataToTempSoapOut"/> + </wsdl:operation> + <wsdl:operation name="CopyJobDataFromTemp"> + <wsdl:input message="tns:CopyJobDataFromTempSoapIn"/> + <wsdl:output message="tns:CopyJobDataFromTempSoapOut"/> + </wsdl:operation> + <wsdl:operation name="GetAllocatedNodesIPs"> + <wsdl:input message="tns:GetAllocatedNodesIPsSoapIn"/> + <wsdl:output message="tns:GetAllocatedNodesIPsSoapOut"/> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="JobManagementWsSoap" type="tns:JobManagementWsSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="CreateJob"> + <soap:operation soapAction="http://hpcaas.it4i.cz/CreateJob" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="SubmitJob"> + <soap:operation soapAction="http://hpcaas.it4i.cz/SubmitJob" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="CancelJob"> + <soap:operation soapAction="http://hpcaas.it4i.cz/CancelJob" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DeleteJob"> + <soap:operation soapAction="http://hpcaas.it4i.cz/DeleteJob" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="ListJobsForCurrentUser"> + <soap:operation soapAction="http://hpcaas.it4i.cz/ListJobsForCurrentUser" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="GetCurrentInfoForJob"> + <soap:operation soapAction="http://hpcaas.it4i.cz/GetCurrentInfoForJob" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="CopyJobDataToTemp"> + <soap:operation soapAction="http://hpcaas.it4i.cz/CopyJobDataToTemp" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="CopyJobDataFromTemp"> + <soap:operation soapAction="http://hpcaas.it4i.cz/CopyJobDataFromTemp" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="GetAllocatedNodesIPs"> + <soap:operation soapAction="http://hpcaas.it4i.cz/GetAllocatedNodesIPs" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="JobManagementWsSoap12" type="tns:JobManagementWsSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="CreateJob"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/CreateJob" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="SubmitJob"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/SubmitJob" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="CancelJob"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/CancelJob" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DeleteJob"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/DeleteJob" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="ListJobsForCurrentUser"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/ListJobsForCurrentUser" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="GetCurrentInfoForJob"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/GetCurrentInfoForJob" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="CopyJobDataToTemp"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/CopyJobDataToTemp" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="CopyJobDataFromTemp"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/CopyJobDataFromTemp" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="GetAllocatedNodesIPs"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/GetAllocatedNodesIPs" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="JobManagementWs"> + <wsdl:port name="JobManagementWsSoap" binding="tns:JobManagementWsSoap"> + <soap:address location="http://haas.vsb.cz/HaasWsFiji/JobManagementWs.asmx"/> + </wsdl:port> + <wsdl:port name="JobManagementWsSoap12" binding="tns:JobManagementWsSoap12"> + <soap12:address location="http://haas.vsb.cz/HaasWsFiji/JobManagementWs.asmx"/> + </wsdl:port> + </wsdl:service> +</wsdl:definitions> \ No newline at end of file diff --git a/haas-java-client/src/wsdl/UserAndLimitationManagementWs.wsdl b/haas-java-client/src/wsdl/UserAndLimitationManagementWs.wsdl new file mode 100644 index 0000000000000000000000000000000000000000..9a8a3e5bd921bad62aab3f39319f07e017cb02db --- /dev/null +++ b/haas-java-client/src/wsdl/UserAndLimitationManagementWs.wsdl @@ -0,0 +1,232 @@ +<?xml version="1.0" encoding="UTF-8"?> +<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://hpcaas.it4i.cz/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://hpcaas.it4i.cz/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://hpcaas.it4i.cz/"> + <s:element name="AuthenticateUserPassword"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:PasswordCredentialsExt"/> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="PasswordCredentialsExt"> + <s:complexContent mixed="false"> + <s:extension base="tns:AuthenticationCredentialsExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string"/> + </s:sequence> + </s:extension> + </s:complexContent> + </s:complexType> + <s:complexType name="AuthenticationCredentialsExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="username" type="s:string"/> + </s:sequence> + </s:complexType> + <s:element name="AuthenticateUserPasswordResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="AuthenticateUserPasswordResult" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="AuthenticateUserDigitalSignature"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:DigitalSignatureCredentialsExt"/> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="DigitalSignatureCredentialsExt"> + <s:complexContent mixed="false"> + <s:extension base="tns:AuthenticationCredentialsExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="noise" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="digitalSignature" type="tns:ArrayOfByte"/> + </s:sequence> + </s:extension> + </s:complexContent> + </s:complexType> + <s:complexType name="ArrayOfByte"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="byte" type="s:byte"/> + </s:sequence> + </s:complexType> + <s:element name="AuthenticateUserDigitalSignatureResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="AuthenticateUserDigitalSignatureResult" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="GetCurrentUsageAndLimitationsForCurrentUser"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="sessionCode" type="s:string"/> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="GetCurrentUsageAndLimitationsForCurrentUserResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="GetCurrentUsageAndLimitationsForCurrentUserResult" type="tns:ArrayOfResourceUsageExt"/> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfResourceUsageExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="ResourceUsageExt" nillable="true" type="tns:ResourceUsageExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="ResourceUsageExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="nodeType" type="tns:ClusterNodeTypeExt"/> + <s:element minOccurs="1" maxOccurs="1" name="coresUsed" nillable="true" type="s:int"/> + <s:element minOccurs="0" maxOccurs="1" name="limitation" type="tns:ResourceLimitationExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="ClusterNodeTypeExt"> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="id" nillable="true" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="description" type="s:string"/> + <s:element minOccurs="1" maxOccurs="1" name="numberOfNodes" nillable="true" type="s:int"/> + <s:element minOccurs="1" maxOccurs="1" name="coresPerNode" nillable="true" type="s:int"/> + <s:element minOccurs="1" maxOccurs="1" name="maxWalltime" nillable="true" type="s:int"/> + <s:element minOccurs="0" maxOccurs="1" name="possibleCommands" type="tns:ArrayOfCommandTemplateExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfCommandTemplateExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="CommandTemplateExt" nillable="true" type="tns:CommandTemplateExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="CommandTemplateExt"> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="id" nillable="true" type="s:long"/> + <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="description" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="code" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="templateParameters" type="tns:ArrayOfCommandTemplateParameterExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfCommandTemplateParameterExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="CommandTemplateParameterExt" nillable="true" type="tns:CommandTemplateParameterExt"/> + </s:sequence> + </s:complexType> + <s:complexType name="CommandTemplateParameterExt"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="identifier" type="s:string"/> + <s:element minOccurs="0" maxOccurs="1" name="description" type="s:string"/> + </s:sequence> + </s:complexType> + <s:complexType name="ResourceLimitationExt"> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="totalMaxCores" nillable="true" type="s:int"/> + <s:element minOccurs="1" maxOccurs="1" name="maxCoresPerJob" nillable="true" type="s:int"/> + </s:sequence> + </s:complexType> + </s:schema> + </wsdl:types> + <wsdl:message name="AuthenticateUserPasswordSoapIn"> + <wsdl:part name="parameters" element="tns:AuthenticateUserPassword"/> + </wsdl:message> + <wsdl:message name="AuthenticateUserPasswordSoapOut"> + <wsdl:part name="parameters" element="tns:AuthenticateUserPasswordResponse"/> + </wsdl:message> + <wsdl:message name="AuthenticateUserDigitalSignatureSoapIn"> + <wsdl:part name="parameters" element="tns:AuthenticateUserDigitalSignature"/> + </wsdl:message> + <wsdl:message name="AuthenticateUserDigitalSignatureSoapOut"> + <wsdl:part name="parameters" element="tns:AuthenticateUserDigitalSignatureResponse"/> + </wsdl:message> + <wsdl:message name="GetCurrentUsageAndLimitationsForCurrentUserSoapIn"> + <wsdl:part name="parameters" element="tns:GetCurrentUsageAndLimitationsForCurrentUser"/> + </wsdl:message> + <wsdl:message name="GetCurrentUsageAndLimitationsForCurrentUserSoapOut"> + <wsdl:part name="parameters" element="tns:GetCurrentUsageAndLimitationsForCurrentUserResponse"/> + </wsdl:message> + <wsdl:portType name="UserAndLimitationManagementWsSoap"> + <wsdl:operation name="AuthenticateUserPassword"> + <wsdl:input message="tns:AuthenticateUserPasswordSoapIn"/> + <wsdl:output message="tns:AuthenticateUserPasswordSoapOut"/> + </wsdl:operation> + <wsdl:operation name="AuthenticateUserDigitalSignature"> + <wsdl:input message="tns:AuthenticateUserDigitalSignatureSoapIn"/> + <wsdl:output message="tns:AuthenticateUserDigitalSignatureSoapOut"/> + </wsdl:operation> + <wsdl:operation name="GetCurrentUsageAndLimitationsForCurrentUser"> + <wsdl:input message="tns:GetCurrentUsageAndLimitationsForCurrentUserSoapIn"/> + <wsdl:output message="tns:GetCurrentUsageAndLimitationsForCurrentUserSoapOut"/> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="UserAndLimitationManagementWsSoap" type="tns:UserAndLimitationManagementWsSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="AuthenticateUserPassword"> + <soap:operation soapAction="http://hpcaas.it4i.cz/AuthenticateUserPassword" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="AuthenticateUserDigitalSignature"> + <soap:operation soapAction="http://hpcaas.it4i.cz/AuthenticateUserDigitalSignature" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="GetCurrentUsageAndLimitationsForCurrentUser"> + <soap:operation soapAction="http://hpcaas.it4i.cz/GetCurrentUsageAndLimitationsForCurrentUser" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="UserAndLimitationManagementWsSoap12" type="tns:UserAndLimitationManagementWsSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="AuthenticateUserPassword"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/AuthenticateUserPassword" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="AuthenticateUserDigitalSignature"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/AuthenticateUserDigitalSignature" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="GetCurrentUsageAndLimitationsForCurrentUser"> + <soap12:operation soapAction="http://hpcaas.it4i.cz/GetCurrentUsageAndLimitationsForCurrentUser" style="document"/> + <wsdl:input> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="UserAndLimitationManagementWs"> + <wsdl:port name="UserAndLimitationManagementWsSoap" binding="tns:UserAndLimitationManagementWsSoap"> + <soap:address location="http://haas.vsb.cz/HaasWsFiji/UserAndLimitationManagementWs.asmx"/> + </wsdl:port> + <wsdl:port name="UserAndLimitationManagementWsSoap12" binding="tns:UserAndLimitationManagementWsSoap12"> + <soap12:address location="http://haas.vsb.cz/HaasWsFiji/UserAndLimitationManagementWs.asmx"/> + </wsdl:port> + </wsdl:service> +</wsdl:definitions> \ No newline at end of file diff --git a/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/ui/SPIMPipelineProgressViewController.java b/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/ui/SPIMPipelineProgressViewController.java index 5471ba678fe453417caca0c4d11a4896c2e06a8c..1a74b7a85a29e83d29b4916d03ba7b2e205dad15 100644 --- a/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/ui/SPIMPipelineProgressViewController.java +++ b/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/ui/SPIMPipelineProgressViewController.java @@ -160,7 +160,6 @@ public class SPIMPipelineProgressViewController extends BorderPane implements Cl } private void fillTable() { - log.info("fillTable"); List<Task> tasks = job.getTasks(); if (tasks == null) { timer.schedule(new TimerTask() { @@ -223,7 +222,6 @@ public class SPIMPipelineProgressViewController extends BorderPane implements Cl } private void updateTable() { - log.info("updateTable"); registry.update(); } diff --git a/pom.xml b/pom.xml index 0ae37a4a83f417aba3eebb1911953842703875d0..0b6a061b8bd2e544e468f5624e789420fc915524 100644 --- a/pom.xml +++ b/pom.xml @@ -11,8 +11,8 @@ <modules> <module>java-scpclient</module> <module>haas-java-client</module> - <module>haas-imagej-client</module> <module>haas-spim-benchmark</module> + <module>haas-imagej-client</module> </modules> <build>