Package org.apache.airavata.workflow.tracking.types

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


     */
    public InvocationContext invokingService(WorkflowTrackingContext context, InvocationEntity receiver,
            XmlObject header, XmlObject body, String... descriptionAndAnnotation) {

        InvokingServiceDocument activity = InvokingServiceDocument.Factory.newInstance();
        RequestInitiatorType activityType = activity.addNewInvokingService();

        // create the invocation context; set the receiver to the remote entity
        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);
        }
View Full Code Here


     */
    public InvocationContext invokingService(WorkflowTrackingContext context, InvocationEntity receiver,
            XmlObject header, XmlObject body, String... descriptionAndAnnotation) {

        InvokingServiceDocument activity = InvokingServiceDocument.Factory.newInstance();
        RequestInitiatorType activityType = activity.addNewInvokingService();

        // create the invocation context; set the receiver to the remote entity
        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);
        }
View Full Code Here

TOP

Related Classes of org.apache.airavata.workflow.tracking.types.RequestInitiatorType

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.