Package org.intalio.tempo.workflow.fds.core

Examples of org.intalio.tempo.workflow.fds.core.UserProcessMessageConvertor.convertMessage()


                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);
                if (_log.isDebugEnabled()) {
                    _log.debug("Sending the converted response back to the Workflow Processes.");
                    _log.debug("User process response (after conversion)\n" + userProcessResponse.asXML() + "\n");
                }
                responseDocument = userProcessResponse;
View Full Code Here


        InputStream inputMessageStream = this.getClass().getClassLoader()
                .getResourceAsStream(_USER_PROCESS_MESSAGE_XML);

        Document message = new SAXReader().read(inputMessageStream);
        UserProcessMessageConvertor convertor = new UserProcessMessageConvertor();
        convertor.convertMessage(message);
        compareDocument(_USER_PROCESS_MESSAGE_XML, message);
    }

    public void testWorkflowProcessesMessageConversion() throws Exception {
        Document message = getMessageDocument(_WORKFLOW_PROCESSES_MESSAGE_XML);
View Full Code Here

                        // TODO: return a SOAP fault
                        throw new RuntimeException(e);
                    }
                } else {
                    _log.debug("Converting the request to the Workflow Processes format.");
                    up2wf.convertMessage(userProcessRequest);
                    if (_log.isDebugEnabled()) {
                        _log.debug("\n" + userProcessRequest.asXML() + "\n");
                    }
                    String userProcessNamespaceUri = up2wf.getUserProcessNamespaceUri();
                    _log.debug("Sending the converted request to the Workflow Processes and getting the response.");
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.