No announcement yet.

HTTPS connection issue

  • Filter
  • Time
  • Show
Clear All
new posts

  • HTTPS connection issue

    Hello Everyone,

    I'm trying to setup an interface where my source is setup as a https listener.
    I've exchanged certs with the sender, and my network team has white-listed the customers public IP.

    My source data type is set to Raw. I don't have any transforms, or filters.

    When the customer sends HL7 v2.5 messages, Mirth does shows that a message has been received, as the message count increases. However, the raw source message seems to be empty, there are no values at all.. but on the mappings, under source parameters, I can see the HL7 message.

    Why is this happening, and how can I convert the message so that it comes across as a valid message in Mirth?

    I've attached pics showing what I see in Mirth.

    Any help is greatly appreciated !
    Attached Files

  • #2
    I can't see anything in that screenshot, the resolution is too low. But I'm guessing the client is sending you application/x-www-form-urlencoded data. In which case the HTTP Listener will automatically parse that and add values to a parameters map.

    Are there other parameters besides the actual HL7 message? If so, that's probably why the client is using this format.

    You can use a preprocessor to set the raw data to a particular parameter, something like this:

    return $s('parameters').getParameter('hl7');
    Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

    Nicholas Rupley
    Work: 949-237-6069
    Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

    - How do I foo?
    - You just bar.


    • #3
      Thanks Nick.

      I worked on this a little today and I was able to use - sourceMap.get('parameters').toString() , in my source transformer to get most of the data..

      However, I have not been able to decode all of the required values yet. I will try what you've suggested as well.

      Much Appreciated !