Mirth Community

Mirth Community (http://www.mirthcorp.com/community/forums/index.php)
-   Support (http://www.mirthcorp.com/community/forums/forumdisplay.php?f=6)
-   -   HTTPS connection issue (http://www.mirthcorp.com/community/forums/showthread.php?t=218263)

gojoshi 05-14-2018 02:15 PM

HTTPS connection issue
1 Attachment(s)
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 !

narupley 05-15-2018 07:36 AM

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');

gojoshi 05-15-2018 08:33 AM

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 !

All times are GMT -8. The time now is 03:33 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation