Examples of launchWorkflow()


Examples of edu.indiana.extreme.xbaya.interpretor.WorkflowInterpretorStub.launchWorkflow()

            // configurations);

            String myProxyUsername = engine.getMyProxyClient().getUsername();
            String myProxyPass = engine.getMyProxyClient().getPassphrase();

            stub.launchWorkflow(workflow.toXMLText(), topicString, myProxyPass, myProxyUsername, inputNameVals, configurations);
          } catch (Exception e) {
            DynamicWorkflowRunnerWindow.this.engine.getErrorWindow().error(e);
          }
        } else {
View Full Code Here

Examples of edu.indiana.extreme.xbaya.interpretor.WorkflowInterpretorStub.launchWorkflow()

          }
         
          String myProxyUsername = engine.getMyProxyClient().getUsername();
          String myProxyPass = engine.getMyProxyClient().getPassphrase();
                 
          stub.launchWorkflow(workflow.toXMLText(), topicString,
              myProxyPass, myProxyUsername, inputNameVals,
              configurations);
        } catch (Exception e) {
          WorkflowInterpreterLaunchWindow.this.engine.getErrorWindow().error(e);
        }
View Full Code Here

Examples of org.apache.airavata.client.stub.interpretor.WorkflowInterpretorStub.launchWorkflow()

      builder.getWorkflowMonitoringContext().setExperimentId(experimentId);
      WorkflowInterpretorStub stub = new WorkflowInterpretorStub(getClient().getAiravataManager().getWorkflowInterpreterServiceURL().toString());
      stub._getServiceClient().addHeader(
          AXIOMUtil.stringToOM(XMLUtil.xmlElementToString(builder
              .getXml())));
      stub.launchWorkflow(workflowGraph, experimentId, inputs);
    } catch (AxisFault e) {
      e.printStackTrace();
    } catch (XMLStreamException e) {
      e.printStackTrace();
    } catch (RemoteException e) {
View Full Code Here

Examples of org.apache.airavata.client.stub.interpretor.WorkflowInterpretorStub.launchWorkflow()

      builder.getWorkflowMonitoringContext().setExperimentId(experimentId);
      WorkflowInterpretorStub stub = new WorkflowInterpretorStub(getClient().getAiravataManager().getWorkflowInterpreterServiceURL().toString());
      stub._getServiceClient().addHeader(
          AXIOMUtil.stringToOM(XMLUtil.xmlElementToString(builder
              .getXml())));
      stub.launchWorkflow(workflowGraph, experimentId, inputs);
    } catch (AxisFault e) {
      e.printStackTrace();
    } catch (XMLStreamException e) {
      e.printStackTrace();
    } catch (RemoteException e) {
View Full Code Here

Examples of org.apache.airavata.client.stub.interpretor.WorkflowInterpretorStub.launchWorkflow()

      builder.getWorkflowMonitoringContext().setExperimentId(experimentId);
      WorkflowInterpretorStub stub = new WorkflowInterpretorStub(getClient().getAiravataManager().getWorkflowInterpreterServiceURL().toString());
      stub._getServiceClient().addHeader(
          AXIOMUtil.stringToOM(XMLUtil.xmlElementToString(builder
              .getXml())));
      stub.launchWorkflow(workflowGraph, experimentId, inputs);
    } catch (AxisFault e) {
      e.printStackTrace();
    } catch (XMLStreamException e) {
      e.printStackTrace();
    } catch (RemoteException e) {
View Full Code Here

Examples of org.apache.airavata.client.stub.interpretor.WorkflowInterpretorStub.launchWorkflow()

      OMElement wchOMElement = AXIOMUtil.stringToOM(XMLUtil.xmlElementToString(builder
          .getXml()));
      wchOMElement.addAttribute("submissionUser", builder.getSubmissionUser(), wchOMElement.getNamespace());
      stub._getServiceClient().addHeader(
          wchOMElement);
      stub.launchWorkflow(workflowGraph, experimentId, inputs);
    } catch (AxisFault e) {
      e.printStackTrace();
    } catch (XMLStreamException e) {
      e.printStackTrace();
    } catch (RemoteException e) {
View Full Code Here

Examples of org.apache.airavata.client.stub.interpretor.WorkflowInterpretorStub.launchWorkflow()

      OMElement wchOMElement = AXIOMUtil.stringToOM(XMLUtil.xmlElementToString(builder
          .getXml()));
      wchOMElement.addAttribute("submissionUser", builder.getSubmissionUser(), wchOMElement.getNamespace());
      stub._getServiceClient().addHeader(
          wchOMElement);
      stub.launchWorkflow(workflowGraph, experimentId, inputs);
    } catch (AxisFault e) {
      e.printStackTrace();
    } catch (XMLStreamException e) {
      e.printStackTrace();
    } catch (RemoteException e) {
View Full Code Here

Examples of org.apache.airavata.xbaya.interpretor.WorkflowInterpretorStub.launchWorkflow()

        try {
            WorkflowInterpretorStub stub = new WorkflowInterpretorStub(
                    getClientConfiguration().getXbayaServiceURL().toString());
            OMElement omElement = AXIOMUtil.stringToOM(XMLUtil.xmlElementToString(builder.getXml()));
            stub._getServiceClient().addHeader(omElement);
            worflowoutput = stub.launchWorkflow(workflow, topic,null);
            runPreWorkflowExecutionTasks(worflowoutput, user, metadata, workflowInstanceName);

        } catch (AxisFault e) {
    } catch (RemoteException e) {
//      log.fine(e.getMessage(), e);
View Full Code Here

Examples of org.apache.airavata.xbaya.interpretor.WorkflowInterpretorStub.launchWorkflow()

          getClientConfiguration().getXbayaServiceURL()
              .toString());
      stub._getServiceClient().addHeader(
          AXIOMUtil.stringToOM(XMLUtil
              .xmlElementToString(builder.getXml())));
      stub.launchWorkflow(workflow, topic, inputs);
      //      log.info("Workflow output : " + worflowoutput);
    } catch (AxisFault e) {
      e.printStackTrace();
    } catch (XMLStreamException e) {
      e.printStackTrace();
View Full Code Here

Examples of org.apache.airavata.xbaya.interpretor.WorkflowInterpretorStub.launchWorkflow()

                    //todo we need to add the workflowContext header in the message
                    WorkflowContextHeaderBuilder builder = new WorkflowContextHeaderBuilder(configuration.getBrokerURL().toASCIIString(),
                            configuration.getGFacURL().toASCIIString(),configuration.getRegistryURL().toASCIIString(),configuration.getTopic()
                            ,null,configuration.getMessageBoxURL().toASCIIString());
                    stub._getServiceClient().addHeader(AXIOMUtil.stringToOM(XMLUtil.xmlElementToString(builder.getXml())));
                    stub.launchWorkflow(workflow.toXMLText(), topicString,inputNameVals);
                    engine.getConfiguration().getJcrComponentRegistry().getRegistry().updateExperimentName(topicString, instanceNameFinal);
                } catch (Exception e) {
                    WorkflowInterpreterLaunchWindow.this.engine.getGUI().getErrorWindow().error(e);
                }
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.