Examples of AcknowledgeSuccessType


Examples of org.apache.airavata.workflow.tracking.types.AcknowledgeSuccessType

        if (context == null)
            throw new RuntimeException("Context passed was NULL.");

        InvokingServiceSucceededDocument activity = InvokingServiceSucceededDocument.Factory.newInstance();
        AcknowledgeSuccessType activityType = activity.addNewInvokingServiceSucceeded();

        // set the remote entity as receiver
        if (context.getRemoteEntity() != null) {
            activityType.addNewReceiver().set(context.getRemoteEntity().toBaseIDType());
        } else {
            logger.warn("Error in context that was passed. "
                    + "there was no remote entity defined (requestReceiver=NULL)");
        }
        sendNotification(wtcontext, activity, descriptionAndAnnotation, "[Service finished successfully]");
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.AcknowledgeSuccessType

        if (context == null)
            throw new RuntimeException("Context passed was NULL.");

        SendingResponseSucceededDocument activity = SendingResponseSucceededDocument.Factory.newInstance();
        AcknowledgeSuccessType activityType = activity.addNewSendingResponseSucceeded();

        // set the remote entity as receiver
        if (context.getRemoteEntity() != null) {
            activityType.addNewReceiver().set(context.getRemoteEntity().toBaseIDType());
        } else {
            logger.warn("Error in context that was passed. "
                    + "there was no remote entity defined (responseReceiver=NULL)");
        }
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.AcknowledgeSuccessType

        if (context == null)
            throw new RuntimeException("Context passed was NULL.");

        InvokingServiceSucceededDocument activity = InvokingServiceSucceededDocument.Factory.newInstance();
        AcknowledgeSuccessType activityType = activity.addNewInvokingServiceSucceeded();

        // set the remote entity as receiver
        if (context.getRemoteEntity() != null) {
            activityType.addNewReceiver().set(context.getRemoteEntity().toBaseIDType());
        } else {
            logger.warn("Error in context that was passed. "
                    + "there was no remote entity defined (requestReceiver=NULL)");
        }
        sendNotification(wtcontext, activity, descriptionAndAnnotation, "[Service finished successfully]");
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.AcknowledgeSuccessType

        if (context == null)
            throw new RuntimeException("Context passed was NULL.");

        SendingResponseSucceededDocument activity = SendingResponseSucceededDocument.Factory.newInstance();
        AcknowledgeSuccessType activityType = activity.addNewSendingResponseSucceeded();

        // set the remote entity as receiver
        if (context.getRemoteEntity() != null) {
            activityType.addNewReceiver().set(context.getRemoteEntity().toBaseIDType());
        } else {
            logger.warn("Error in context that was passed. "
                    + "there was no remote entity defined (responseReceiver=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.