Examples of GPELClient


Examples of edu.indiana.extreme.xbaya.gpel.GPELClient

    public static WorkflowClient getWorkflowClient() {
        String workflowClientName = System.getProperty("edu.indiana.extreme.xbaya.workflow.ClientType");
        if (WORKFLOW_CLIENT_PROXY.equals(workflowClientName)) {
            return new WorkflowProxyClient();
        } else {
            return new GPELClient();
        }
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.gpel.GPELClient

    public static WorkflowClient getWorkflowClient(URI engineURL, UserX509Credential gpelUserX509Credential) throws WorkflowEngineException {
        String workflowClientName = System.getProperty("edu.indiana.extreme.xbaya.workflow.ClientType");
        if (WORKFLOW_CLIENT_PROXY.equals(workflowClientName)) {
            return new WorkflowProxyClient(engineURL, "", gpelUserX509Credential);
        } else {
            return new GPELClient(engineURL, gpelUserX509Credential);
        }
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.gpel.GPELClient

      workflow.setGpelProcess(bpel.getGpelProcess());
      workflow.setWorkflowWSDL(bpel.getWorkflowWSDL()
          .getWsdlDefinitions());
     
     
      GPELClient client = new GPELClient(
          XBayaConstants.DEFAULT_GPEL_ENGINE_URL, credential);//changed from constants
       client.deploy(workflow, false);
      this.instance = client.instantiate(workflow,
          XBayaConstants.DEFAULT_DSC_URL, context.getTopic());
      this.wsdl = client.start(instance);
      // System.out.println(workflow.getGPELTemplateID());
    } catch (WorkflowEngineException e) {
      throw new RuntimeException(e);
    } catch (ComponentException e) {
      throw new RuntimeException(e);
View Full Code Here

Examples of edu.indiana.extreme.xbaya.gpel.GPELClient

    GSSCredential proxy = SecurityUtil.getGSSCredential(userName,
        password, XBayaConstants.DEFAULT_MYPROXY_SERVER);
    UserX509Credential credential = new UserX509Credential(proxy,
        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 {
      if(leadContextHeader == null){
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.