Examples of launchWorkflow()


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()

                  .toString());
          stub._getServiceClient().addHeader(
              AXIOMUtil.stringToOM(XMLUtil
                  .xmlElementToString(builder.getXml())));
          runPreWorkflowExecutionTasks(topic, user, metadata,workflowInstanceName);
          stub.launchWorkflow(workflow, topic, inputs);
          //      log.info("Workflow output : " + worflowoutput);
        } catch (RegistryException e) {
          //      log.fine(e.getMessage(), e);
        } catch (AxisFault 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().saveWorkflowExecutionName(topicString, instanceNameFinal);
                } catch (Exception e) {
                    WorkflowInterpreterLaunchWindow.this.engine.getGUI().getErrorWindow().error(e);
                }
            }
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);
                } catch (Exception e) {
                    WorkflowInterpreterLaunchWindow.this.engine.getErrorWindow().error(e);
                }
            }
        }.start();
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);
                    runPostWorkflowExecutionTasks(worflowoutput, user, metadata);

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

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

    String worflowoutput = null;
    try {
      WorkflowInterpretorStub stub = new WorkflowInterpretorStub(
          getClientConfiguration().getXbayaServiceURL().toString());
            stub._getServiceClient().addHeader(AXIOMUtil.stringToOM(XMLUtil.xmlElementToString(builder.getXml())));
      worflowoutput = stub.launchWorkflow(workflow, topic, inputs);
      runPostWorkflowExecutionTasks(topic, user, metadata);
//      log.info("Workflow output : " + worflowoutput);
    } catch (RegistryException e) {
//      log.fine(e.getMessage(), 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.