Package org.ggf.schemas.bes.x2006.x08.besFactory

Examples of org.ggf.schemas.bes.x2006.x08.besFactory.CreateActivityResponseDocument


                factory = new FactoryClient(eprt, secProperties);
            } catch (Exception e) {
                throw new GFacProviderException(e.getLocalizedMessage(), e);
            }

            CreateActivityResponseDocument response = null;
            try {
                log.info(String.format("Activity Submitting to %s ... \n", factoryUrl));
                response = factory.createActivity(cad);
                log.info(String.format("Activity Submitted to %s \n", factoryUrl));
            } catch (Exception e) {
                throw new GFacProviderException("Cannot create activity.", e);
            }
            EndpointReferenceType activityEpr = response.getCreateActivityResponse().getActivityIdentifier();

            log.info("Activity : " + activityEpr.getAddress().getStringValue() + " Submitted.");

            // factory.waitWhileActivityIsDone(activityEpr, 1000);
            jobId = WSUtilities.extractResourceID(activityEpr);
View Full Code Here


    }
  }
 
  protected ActivityStatusType getStatus(FactoryClient fc, EndpointReferenceType activityEpr) throws UnknownActivityIdentifierFault{
   
      GetActivityStatusesDocument stats = GetActivityStatusesDocument.Factory.newInstance();
     
      stats.addNewGetActivityStatuses().setActivityIdentifierArray(new EndpointReferenceType[] {activityEpr});
     
    GetActivityStatusesResponseDocument resDoc = fc.getActivityStatuses(stats);
   
    ActivityStatusType activityStatus = resDoc
        .getGetActivityStatusesResponse()
View Full Code Here

    }
  }
 
  protected ActivityStatusType getStatus(FactoryClient fc, EndpointReferenceType activityEpr) throws UnknownActivityIdentifierFault{
   
      GetActivityStatusesDocument stats = GetActivityStatusesDocument.Factory.newInstance();
     
      stats.addNewGetActivityStatuses().setActivityIdentifierArray(new EndpointReferenceType[] {activityEpr});
     
    GetActivityStatusesResponseDocument resDoc = fc.getActivityStatuses(stats);
   
    ActivityStatusType activityStatus = resDoc
        .getGetActivityStatusesResponse()
View Full Code Here

    }
  }
 
  protected ActivityStatusType getStatus(FactoryClient fc, EndpointReferenceType activityEpr) throws UnknownActivityIdentifierFault{
   
      GetActivityStatusesDocument stats = GetActivityStatusesDocument.Factory.newInstance();
     
      stats.addNewGetActivityStatuses().setActivityIdentifierArray(new EndpointReferenceType[] {activityEpr});
     
    GetActivityStatusesResponseDocument resDoc = fc.getActivityStatuses(stats);
   
    ActivityStatusType activityStatus = resDoc
        .getGetActivityStatusesResponse()
View Full Code Here

    }

    protected ActivityStatusType getStatus(FactoryClient fc, EndpointReferenceType activityEpr)
            throws UnknownActivityIdentifierFault {

        GetActivityStatusesDocument stats = GetActivityStatusesDocument.Factory.newInstance();

        stats.addNewGetActivityStatuses().setActivityIdentifierArray(new EndpointReferenceType[] { activityEpr });

        GetActivityStatusesResponseDocument resDoc = fc.getActivityStatuses(stats);

        ActivityStatusType activityStatus = resDoc.getGetActivityStatusesResponse().getResponseArray()[0]
                .getActivityStatus();
View Full Code Here

    }

    protected ActivityStatusType getStatus(FactoryClient fc, EndpointReferenceType activityEpr)
            throws UnknownActivityIdentifierFault {

        GetActivityStatusesDocument stats = GetActivityStatusesDocument.Factory.newInstance();

        stats.addNewGetActivityStatuses().setActivityIdentifierArray(new EndpointReferenceType[] { activityEpr });

        GetActivityStatusesResponseDocument resDoc = fc.getActivityStatuses(stats);

        ActivityStatusType activityStatus = resDoc.getGetActivityStatusesResponse().getResponseArray()[0]
                .getActivityStatus();
View Full Code Here

   
      GetActivityStatusesDocument stats = GetActivityStatusesDocument.Factory.newInstance();
     
      stats.addNewGetActivityStatuses().setActivityIdentifierArray(new EndpointReferenceType[] {activityEpr});
     
    GetActivityStatusesResponseDocument resDoc = fc.getActivityStatuses(stats);
   
    ActivityStatusType activityStatus = resDoc
        .getGetActivityStatusesResponse()
        .getResponseArray()[0].getActivityStatus();
    return activityStatus;
  }
View Full Code Here

   
      GetActivityStatusesDocument stats = GetActivityStatusesDocument.Factory.newInstance();
     
      stats.addNewGetActivityStatuses().setActivityIdentifierArray(new EndpointReferenceType[] {activityEpr});
     
    GetActivityStatusesResponseDocument resDoc = fc.getActivityStatuses(stats);
   
    ActivityStatusType activityStatus = resDoc
        .getGetActivityStatusesResponse()
        .getResponseArray()[0].getActivityStatus();
    return activityStatus;
  }
View Full Code Here

   
      GetActivityStatusesDocument stats = GetActivityStatusesDocument.Factory.newInstance();
     
      stats.addNewGetActivityStatuses().setActivityIdentifierArray(new EndpointReferenceType[] {activityEpr});
     
    GetActivityStatusesResponseDocument resDoc = fc.getActivityStatuses(stats);
   
    ActivityStatusType activityStatus = resDoc
        .getGetActivityStatusesResponse()
        .getResponseArray()[0].getActivityStatus();
    return activityStatus;
  }
View Full Code Here

        GetActivityStatusesDocument stats = GetActivityStatusesDocument.Factory.newInstance();

        stats.addNewGetActivityStatuses().setActivityIdentifierArray(new EndpointReferenceType[] { activityEpr });

        GetActivityStatusesResponseDocument resDoc = fc.getActivityStatuses(stats);

        ActivityStatusType activityStatus = resDoc.getGetActivityStatusesResponse().getResponseArray()[0]
                .getActivityStatus();
        return activityStatus;
    }
View Full Code Here

TOP

Related Classes of org.ggf.schemas.bes.x2006.x08.besFactory.CreateActivityResponseDocument

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.