Package edu.indiana.dde.mylead.agent.xmlbeans

Examples of edu.indiana.dde.mylead.agent.xmlbeans.CollectionType


    AgentPortType stub = new ODEClient().createStub(userDN, wsdlLoc);
    CreateExperimentsRequestDocument experimentDoc = CreateExperimentsRequestDocument.Factory
        .newInstance();
    CreateCollectionsRequestType createCollectionReq = CreateCollectionsRequestType.Factory
        .newInstance();
    CollectionType collectionInfo = createCollectionReq
        .addNewCollectionInfo();

    MinimalLEADMetadata minimalLEADMetadata = new MinimalLEADMetadata(
        userDN, experimentName, experimentDescription);

    LEADResourceType leadResource = minimalLEADMetadata
        .getLeadResourceDoc().getLEADresource();
    ThemeType theme = leadResource.addNewData().addNewIdinfo()
        .addNewKeywords().addNewTheme();

    theme.addNewThemekey().setStringValue(instanceID);
    theme.setThemekt("ROOT_WORKFLOW_ID");

    theme = leadResource.addNewData().addNewIdinfo().addNewKeywords()
        .addNewTheme();

    theme.addNewThemekey().setStringValue(templateID);
    theme.setThemekt("ROOT_WORKFLOW_INSTANCE_ID");

    collectionInfo.setLEADresource(leadResource);

    collectionInfo.setAssignNewResourceID(true);

    experimentDoc.setCreateExperimentsRequest(createCollectionReq);

    OperationResponseDocument res = stub.createExperiments(experimentDoc);
    return res;
View Full Code Here


          .newInstance();
      CreateCollectionsRequestType params = inputMsg
          .addNewCreateCollectionsRequest();

      AgentPortType stub = this.createStub(uid);
      CollectionType collectionType = params.addNewCollectionInfo();

      collectionType.setAssignNewResourceID(assignNewResourceID);
      collectionType.setParentID(parentResourceID);

      collectionType.setLEADresource(leadResourceType);

      OperationResponseDocument outputMsg = stub
          .createCollections(inputMsg);
      OperationResponseType outputType = outputMsg.getOperationResponse();
View Full Code Here

            CreateCollectionsRequestType collParams = createColl.addNewCreateCollectionsRequest();
            
            LEADresourceDocument workflowCollResourceDoc = LEADresourceDocument.Factory.parse(collMetadata.toString());
            LEADResourceType workflowCollResourceType = workflowCollResourceDoc.getLEADresource();
            
            CollectionType collectionType = collParams.addNewCollectionInfo();
            collectionType.setAssignNewResourceID(true);
            collectionType.setParentID(projectId);
            
            collectionType.setLEADresource(workflowCollResourceType);
            
            OperationResponseDocument outputMsg = createStub(userID).createCollections(createColl);
            OperationResponseType outputType = outputMsg.getOperationResponse();
            
            StatusEnumType.Enum statusType = outputType.getStatus();
View Full Code Here

TOP

Related Classes of edu.indiana.dde.mylead.agent.xmlbeans.CollectionType

Copyright © 2018 www.massapicom. 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.