Examples of requestAndGetReply()


Examples of org.intalio.tempo.workflow.fds.core.MessageSender.requestAndGetReply()

                    soapAction = "\"" + soapAction + "\"";
                }

                String userProcessEndpoint = wf2up.getUserProcessEndpoint();
                _log.debug("Sending the request to the user process and getting the response");
                Document userProcessResponse = messageSender.requestAndGetReply(workflowProcessesRequest, userProcessEndpoint, soapAction);
                if (_log.isDebugEnabled()) {
                    _log.debug("User process response:\n" + userProcessResponse.asXML() + "\n");
                    _log.debug("Converting the response to the Workflow Processes format.");
                }
                up2wf.convertMessage(userProcessResponse);
View Full Code Here

Examples of org.intalio.tempo.workflow.fds.core.MessageSender.requestAndGetReply()

                    try {
                        Document processedRequest = dispatcher.dispatchRequest(pureRequest);
                        Document wrappedRequest = SoapTools.wrapMessage(processedRequest);
                        String endpoint = dispatcher.getTargetEndpoint();
                        String dispatcherSoapAction = dispatcher.getTargetSoapAction();
                        Document rawResponse = messageSender.requestAndGetReply(wrappedRequest, endpoint, dispatcherSoapAction);

                        Document unwrappedResponse = SoapTools.unwrapMessage(rawResponse);
                        Document processedResponse = dispatcher.dispatchResponse(unwrappedResponse);
                        responseDocument = SoapTools.wrapMessage(processedResponse);
                    } catch (InvalidInputFormatException e) {
View Full Code Here

Examples of org.intalio.tempo.workflow.fds.core.MessageSender.requestAndGetReply()

                    if (up2wf.getSoapAction() != null){
                        soapAction = up2wf.getSoapAction();
                    }
                    _log.debug("SOAP Action:" + soapAction);

                    Document workflowProcessesResponse = messageSender.requestAndGetReply(userProcessRequest, workflowProcessesEndpoint, soapAction);
                    if (_log.isDebugEnabled()) {
                        _log.debug("\n" + workflowProcessesResponse.asXML() + "\n");
                    }
                    _log.debug("Converting the response to the user process format.");
                    wf2up.convertMessage(workflowProcessesResponse, userProcessNamespaceUri);
View Full Code Here

Examples of org.intalio.tempo.workflow.fds.core.MessageSender.requestAndGetReply()

        Document doc = createDocument(filename);
        String endpoint = "http://localhost:8080/ode/processes/workflow/ib4p";
        String soapAction = "createTask";

        MessageSender sender = new MessageSender();
        Document reply = sender.requestAndGetReply(doc, endpoint, soapAction);

        System.out.println(reply.asXML());
    }
}
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.