Examples of GcInstance


Examples of org.gpel.client.GcInstance

        URI workflowTemplateID = this.workflowClient.createScriptAndDeploy(
                workflow, false);
        logger.info("workflowTemplateID: " + workflowTemplateID);

        // Instantiate the workflow template.
        GcInstance instance = this.workflowClient.instantiate(workflow,
                this.configuration.getDSCURL());

        // ID to retrieve the workflow instance
        URI instanceID = instance.getInstanceId();
        logger.info("instanceID: " + instanceID);

        // Start the workflow instance.
        WsdlDefinitions wsdl = this.workflowClient.start(instance);
View Full Code Here

Examples of org.gpel.client.GcInstance

        client.setEngineURL(XBayaConstants.DEFAULT_GPEL_ENGINE_URL);

        client.createScriptAndDeploy(workflow, false);

        // Instantiate the workflow template.
        GcInstance instance = client.instantiate(workflow, this.configuration
                .getDSCURL());

        // Start the workflow instance.
        WsdlDefinitions wsdl = client.start(instance);
View Full Code Here

Examples of org.gpel.client.GcInstance

        // Load a workflow template from the GPEL Engine.
        Workflow workflowTemplate = client.load(templateID);

        // Instantiate the workflow template.
        GcInstance instance = client.instantiate(workflowTemplate,
                this.configuration.getDSCURL());
        // ID to retrieve the workflow instance
        URI instanceID = instance.getInstanceId();
        logger.info("instanceID: " + instanceID);

        // Start the workflow instance.
        // WsdlDefinitions wsdl = client.start(instance);
View Full Code Here

Examples of org.gpel.client.GcInstance

            // Set a value to each input.
            input.setValue("200");
        }

        // Instantiate the workflow template.
        GcInstance instance = client.instantiate(workflow, this.configuration
                .getDSCURL());
        // ID to retrieve the workflow instance
        URI instanceID = instance.getInstanceId();
        logger.info("instanceID: " + instanceID);

        // Start the workflow instance.
        WsdlDefinitions wsdl = client.start(instance);
View Full Code Here

Examples of org.gpel.client.GcInstance

        MonitorConfiguration monitorConfiguration = this.engine.getMonitor()
                .getConfiguration();
        XBayaConfiguration xbayaConfiguration = this.engine.getConfiguration();
        WsdlDefinitions wsdl;
        try {
            GcInstance instance = client.instantiate(workflow,
                    xbayaConfiguration.getDSCURL(), monitorConfiguration
                            .getTopic());
            wsdl = client.start(instance);
        } catch (WorkflowEngineException e) {
            if (this.canceled) {
View Full Code Here

Examples of org.gpel.client.GcInstance

        XBayaSecurity.getTrustedCertificates());

    GPELClient client = new GPELClient(
        XBayaConstants.DEFAULT_GPEL_ENGINE_URL, credential);
    client.deploy(workflow, false);
    GcInstance instance = client.instantiate(workflow,
        XBayaConstants.DEFAULT_DSC_URL, topic);
    System.out.println("===============================================");
    System.out.println(instance.getId());
    System.out.println(instance.getInstanceId());
    WsdlDefinitions wsdl = client.start(instance);
    System.out.println(workflow.getGPELTemplateID());

    LEADWorkflowInvoker invoker = null;
    try {
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.