Examples of InvocationMessageType


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

                    + "There was no remote invoker defined for workflow invoked (initiator=NULL)");
        }

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType request = activityType.addNewRequest();
            if (header != null)
                request.addNewHeader().set(header);
            if (body != null)
                request.addNewBody().set(body);
        }
        sendNotification(context, activity, descriptionAndAnnotation, "[Workflow is invoked]");
        return invocationContext;
    }
View Full Code Here

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

        InvocationContextImpl invocationContext = new InvocationContextImpl(context.getMyself(), receiver);
        activityType.addNewReceiver().set(receiver.toBaseIDType());

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType request = activityType.addNewRequest();
            if (header != null)
                request.addNewHeader().set(header);
            if (body != null)
                request.addNewBody().set(body);
        }
        sendNotification(context, activity, descriptionAndAnnotation, "[Service is invoked]");
        return invocationContext;
    }
View Full Code Here

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

            logger.warn("Error in context that was passed. " + "There was no remote entity defined (responder=NULL)");
        }

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType result = activityType.addNewResult();
            if (header != null)
                result.addNewHeader().set(header);
            if (body != null)
                result.addNewBody().set(body);
        }
        sendNotification(wtcontext, activity, descriptionAndAnnotation, "[Service failed]");
    }
View Full Code Here

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

                    + "There was no remote invoker defined (initiator=NULL)");
        }

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType request = activityType.addNewRequest();
            if (header != null)
                request.addNewHeader().set(header);
            if (body != null)
                request.addNewBody().set(body);
        }

        sendNotification(context, activity, descriptionAndAnnotation, "[Service is invoked]");

        return invocationContext;
View Full Code Here

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

                    + "There was no remote entity defined (responseReceiver=NULL)");
        }

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType result = activityType.addNewResult();
            if (header != null)
                result.addNewHeader().set(header);
            if (body != null)
                result.addNewBody().set(body);
        }

        sendNotification(wtcontext, activity, descriptionAndAnnotation,
                "[Trying to send successful result of invocation]");
    }
View Full Code Here

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

                    + "There was no remote invoker defined for workflow invoked (initiator=NULL)");
        }

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType request = activityType.addNewRequest();
            if (header != null)
                request.addNewHeader().set(header);
            if (body != null)
                request.addNewBody().set(body);
        }
        sendNotification(context, activity, descriptionAndAnnotation, "[Workflow is invoked]");
        return invocationContext;
    }
View Full Code Here

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

        InvocationContextImpl invocationContext = new InvocationContextImpl(context.getMyself(), receiver);
        activityType.addNewReceiver().set(receiver.toBaseIDType());

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType request = activityType.addNewRequest();
            if (header != null)
                request.addNewHeader().set(header);
            if (body != null)
                request.addNewBody().set(body);
        }
        sendNotification(context, activity, descriptionAndAnnotation, "[Service is invoked]");
        return invocationContext;
    }
View Full Code Here

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

            logger.warn("Error in context that was passed. " + "There was no remote entity defined (responder=NULL)");
        }

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType result = activityType.addNewResult();
            if (header != null)
                result.addNewHeader().set(header);
            if (body != null)
                result.addNewBody().set(body);
        }
        sendNotification(wtcontext, activity, descriptionAndAnnotation, "[Service failed]");
    }
View Full Code Here

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

                    + "There was no remote invoker defined (initiator=NULL)");
        }

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType request = activityType.addNewRequest();
            if (header != null)
                request.addNewHeader().set(header);
            if (body != null)
                request.addNewBody().set(body);
        }

        sendNotification(context, activity, descriptionAndAnnotation, "[Service is invoked]");

        return invocationContext;
View Full Code Here

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

                    + "There was no remote entity defined (responseReceiver=NULL)");
        }

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType result = activityType.addNewResult();
            if (header != null)
                result.addNewHeader().set(header);
            if (body != null)
                result.addNewBody().set(body);
        }

        sendNotification(wtcontext, activity, descriptionAndAnnotation,
                "[Trying to send successful result of invocation]");
    }
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.