Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 246431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:10:20+00:00 2026-05-11T21:10:20+00:00

Consider a scenario where a Mirth channel has one or more Destinations. In this

  • 0

Consider a scenario where a Mirth channel has one or more Destinations. In this scenario, there are 4 Destinations.

The channel’s Source Type is LLP Listener with incoming datatype as HL7 v2.x.

The channel’s Destinations are as follows:

  1. File Writer – Write the message to disk. Really this is just for development purposes.
  2. Javascript Writer – Write the message to DB. Get a primary key. Put that key on the ChannelMap for future Destinations.
  3. SOAP Sender – Call a web service and receive a response. The call runs smoothly.
  4. Javascript Writer – Take the response from the SOAP Sender above, and write it to a DB, associating the answer with the primary key from the 1st Destination.

One challenge is getting the SOAP response from the SOAP Sender Destination, and saving it somewhere for the 4th destination. The SOAP Sender allows you to send a SOAP response to another channel, but I need it in the next destination. I have to be able to receive it in the same channel.

Question:
How can I have the XML SOAP results from the 3rd Destination be saved/sent to the 4th Destination?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:10:20+00:00Added an answer on May 11, 2026 at 9:10 pm

    I assume your channels are synchronized

    Assume your step 3 SOAP sender destination is called SOAPDestination, then in step 4, you can do this:

    var destination =
    responseMap.get(‘SOAPDestination’);

    var responseMessage =
    destination.getMessage();

    // open db connection

    // write responseMessage along with
    the primary key you stored back in
    step 2

    // close db connection

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Consider this scenario: I have a project with two modules and one common module
Consider the scenario below: The application is multi-threaded and it has one static ArrayList
Consider this scenario that two WCF clients connect to one WCF service(server), this service
Please consider this scenario: a web app that has 4 levels of access: admin
Consider this scenario we have a class A which is singleton it has a
Database software: SQLITE Consider this scenario: Table X has attributes: A,B,C,D,1,2,3,4 Table Y needs
Consider this scenario. I have some business logic that now and then will be
Consider this scenario. I have a small enterprise project dev environment. We use archiva
Consider this scenario with the following assumptions: The database is used for a non-critical
Consider this scenario: Using Javascript/E4X, in a non-browser usage scenario (a Javascript HL7 integration

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.