Examples of sendingResult()


Examples of edu.indiana.extreme.xbaya.test.service.ServiceNotificationSender.sendingResult()

            XmlElement valueElement = arrayElement.addElement("value");
            valueElement.addChild("" + i);
        }

        if (notifier != null) {
            notifier.sendingResult(outputElement);
        }
        logger.finest(XMLUtil.xmlElementToString(outputElement));
        return outputElement;
    }
}
View Full Code Here

Examples of edu.indiana.extreme.xbaya.test.service.ServiceNotificationSender.sendingResult()

                "MultiplyOutput");
        XmlElement zElement = outputElement.addElement("z");
        zElement.addChild(zString);

        if (notifier != null) {
            notifier.sendingResult(outputElement);
        }
        logger.finest(XMLUtil.xmlElementToString(outputElement));
        return outputElement;
    }
}
View Full Code Here

Examples of edu.indiana.extreme.xbaya.test.service.ServiceNotificationSender.sendingResult()

        XmlElement outputElement = XmlConstants.BUILDER.newFragment(namespace,
                "EchoOutput");
        outputElement.addElement(output);

        if (notifier != null) {
            notifier.sendingResult(outputElement);
        }
        logger.finest(XMLUtil.xmlElementToString(outputElement));
        return outputElement;
    }
}
View Full Code Here

Examples of edu.indiana.extreme.xbaya.test.service.ServiceNotificationSender.sendingResult()

                "AddOutput");
        XmlElement zElement = outputElement.addElement("z");
        zElement.addChild(zString);

        if (notifier != null) {
            notifier.sendingResult(outputElement);
        }
        logger.finest(XMLUtil.xmlElementToString(outputElement));
        return outputElement;
    }
}
View Full Code Here

Examples of edu.indiana.extreme.xbaya.test.service.ServiceNotificationSender.sendingResult()

                "ArrayAdderOutput");
        XmlElement sumElement = outputElement.addElement("sum");
        sumElement.addChild(sumString);

        if (notifier != null) {
            notifier.sendingResult(outputElement);
        }
        logger.finest(XMLUtil.xmlElementToString(outputElement));
        return outputElement;
    }
}
View Full Code Here

Examples of edu.indiana.extreme.xbaya.test.service.ServiceNotificationSender.sendingResult()

                "ApproveOutput");
        XmlElement acceptElement = outputElement.addElement("accept");
        acceptElement.addChild(accept);

        if (notifier != null) {
            notifier.sendingResult(outputElement);
        }
        logger.finest(XMLUtil.xmlElementToString(outputElement));
        return outputElement;
    }
}
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.ProvenanceNotifier.sendingResult()

                            + "<gfac:WRF_Ininitialization_Files><value>gsiftp://grid-hg.ncsa.teragrid.org//scratch/hperera/Wed_Aug_02_15_10_23_EST_2006_ARPS2WRF/outputData/namelist.input</value><value>gsiftp://grid-hg.ncsa.teragrid.org//scratch/hperera/Wed_Aug_02_15_10_23_EST_2006_ARPS2WRF/outputData/wrfbdy_d01</value><value>gsiftp://grid-hg.ncsa.teragrid.org//scratch/hperera/Wed_Aug_02_15_10_23_EST_2006_ARPS2WRF/outputData/wrfinput_d01</value></gfac:WRF_Ininitialization_Files>"
                            + "</gfac:Run_OutputParams>" + "</S:Body>");

            // notify that invocation produced a result and send result to
            // invoker
            notifier.sendingResult(context, invocationContext, success.header, success.body, "sending success");
            try {
                // since this is a sync call, we mimic an async response by
                // seting the result object
                result = success;
                // acknowledge that the result was sent successfully
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.ProvenanceNotifier.sendingResult()

            success.header = XmlObject.Factory.parse("<resultHeader/>");
            success.body = XmlObject.Factory.parse("<resultBody>output2,output3</resultBody>");

            // notify that invocation produced a result and send result to
            // invoker
            notifier.sendingResult(context, invocationContext, success.header, success.body, "sending success");
            try {
                // since this is a sync call, we mimic an async response by
                // seting the result object
                result = success;
                // acknowledge that the result was sent successfully
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.WorkflowNotifier.sendingResult()

            }

        }

        Object result = null;
        notifier.sendingResult(context, myInvocation, "sending result back to the invoker of this workflow");
        try {
            result = new Success();
            notifier.sendingResponseSucceeded(context, myInvocation, "sent result to invoker");
        } catch (Exception ex) {
            notifier.sendingResponseFailed(context, myInvocation, ex);
View Full Code Here

Examples of org.apache.airavata.xbaya.test.service.ServiceNotificationSender.sendingResult()

        XmlElement outputElement = XmlConstants.BUILDER.newFragment(namespace, "AddOutput");
        XmlElement zElement = outputElement.addElement("z");
        zElement.addChild(zString);

        if (notifier != null) {
            notifier.sendingResult(outputElement);
        }
        logger.info(XMLUtil.xmlElementToString(outputElement));
        return outputElement;
    }
}
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.