Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

how to get output of soap sender connector?

  • Filter
  • Time
  • Show
Clear All
new posts

  • how to get output of soap sender connector?


    How do I get the contents of "SOAP Envelope" and/or the soap message that comes out of the soap sender connector?


  • #2
    Re:how to get output of soap sender connector?


    To get the SOAP response from a destination called "Destination 1":

    - Create a new destination: Destination 2.
    - Create a javascript transformation step:

    var responseStr=responseMap.get('Destination 1').getMessage();
    var responseXML = new XML(responseStr);"responseXML" + responseXML);

    // get specific elements from the response
    var elementName1 = responseXML..*::elementName1.toString();
    var elementName2 = responseXML..*::elementName2.toString();

    Hope that helps!

    Daniel Svanstedt
    Software Engineer
    Mirth Corporation

    Want professional services, support, and enterprise or virtual appliances? It's all available from the Mirth Corporation:
    Mirth Support | Mirth Training | Mirth Appliances | Online Training | Developer Q&A

    Don't forget, Mirth Support gives you access to all of our online training videos, and silver support gives you access to developer Q&As!


    • #3
      Re:how to get output of soap sender connector?

      is a second destination required, or could this be done in the postprocessor script?

      Fieran Mason-Blakley
      Standards Researcher
      Genologics Life Sciences