HL7 HTTP Operation using SSL X.509

72 views
Skip to first unread message

anaya

unread,
Mar 25, 2014, 3:48:22 PM3/25/14
to Ensemble-in...@googlegroups.com
Hello,
 
We have a TCPIP Business service that receives HL7 messages,  each message goes thru a BP where we request some data to a Web Service, then the response is added to the original HL7 message, once this is done, we supposed to send the HL7 message as a POST HTTP (SSL, X.509) request. My question is do we have to create a custom HTTPS business Operation to send the request or can we use EnsLib.HL7.Operation.HTTPOperation?
 
Right now we are calling the BO using EnsLib.HL7.Operation.HTTPOperation/HTTP Outbound Adapter, but we are getting these errors:
 
Alert: Received non-OK status 404 from remote HTTP server: 'HTTP/1.1 404 Not Found' (alert request ID=2811024)
 
Error: ERROR <Ens>ErrHTTPStatus: Received non-OK status 404 from remote HTTP server: 'HTTP/1.1 404 Not Found' + ERROR <EnsEDIHL7>ErrStartBlock: Received unexpected StartBlock '' in input "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">rl<HTML><HEAD><TITLE>Not Found</TITLE>rl<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>rl<BODY><h2>Not Found</h2>rl<hr><p>HTTP Error 404. The requested resource is not found.</p>rl</BODY></HTML>rl", expected 's, on '
 
Warning: Discarding received non-HL7 data(315) '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">rl<HTML><HEAD><TITLE>Not Found</TITLE>rl<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>rl<BODY><h2>Not Found</h2>rl<hr><p>HTTP Error 404. The requested resource is not found.</p>rl</BODY></HTML>rl'
I am able to ping the server, we are able to telnet using port 443,  so I don't understand why we are getting these errors. Should we send some format in the URL Path?,

Example https://99.99.99.99/rem.archiverResult/BTSHTTPReceive.dll, we are only sending this rem.archiverResult/BTSHTTPReceive.dll in the URL path.

Thanks in advance for your help

Regards,

Glenda

 

David Loveluck

unread,
Mar 26, 2014, 9:16:03 AM3/26/14
to Ensemble-in...@googlegroups.com

Glenda

 

What are you providing for the SSL Configuration under connection settings?

 

dave

--
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.
To post to this group, send email to Ensemble-in...@googlegroups.com
To unsubscribe from this group, send email to Ensemble-in-Healt...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Ensemble-in-Healt...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

anaya

unread,
Mar 26, 2014, 10:24:59 AM3/26/14
to Ensemble-in...@googlegroups.com
Hello Dave
 
Please see attached files.
 
Do you think the errors are related to the way we configured the SSL/TLS?
 
Regards,

On Wednesday, 26 March 2014 09:16:03 UTC-4, David Loveluck wrote:

Glenda

 

What are you providing for the SSL Configuration under connection settings?

 

dave

 

 

 

From: Ensemble-in...@googlegroups.com [mailto:Ensemble-in-Healt...@googlegroups.com] On Behalf Of anaya
Sent: Tuesday, March 25, 2014 3:48 PM
To: Ensemble-in...@googlegroups.com
Subject: [InterSystems-EnsHlth] HL7 HTTP Operation using SSL X.509

 

Hello,

 

We have a TCPIP Business service that receives HL7 messages,  each message goes thru a BP where we request some data to a Web Service, then the response is added to the original HL7 message, once this is done, we supposed to send the HL7 message as a POST HTTP (SSL, X.509) request. My question is do we have to create a custom HTTPS business Operation to send the request or can we use EnsLib.HL7.Operation.HTTPOperation?

 

Right now we are calling the BO using EnsLib.HL7.Operation.HTTPOperation/HTTP Outbound Adapter, but we are getting these errors:

 

Alert: Received non-OK status 404 from remote HTTP server: 'HTTP/1.1 404 Not Found' (alert request ID=2811024)

 

Error: ERROR <Ens>ErrHTTPStatus: Received non-OK status 404 from remote HTTP server: 'HTTP/1.1 404 Not Found' + ERROR <EnsEDIHL7>ErrStartBlock: Received unexpected StartBlock '' in input "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">rl<HTML><HEAD><TITLE>Not Found</TITLE>rl<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>rl<BODY><h2>Not Found</h2>rl<hr><p>HTTP Error 404. The requested resource is not found.</p>rl</BODY></HTML>rl", expected 's, on '

 

Warning: Discarding received non-HL7 data(315) '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">rl<HTML><HEAD><TITLE>Not Found</TITLE>rl<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>rl<BODY><h2>Not Found</h2>rl<hr><p>HTTP Error 404. The requested resource is not found.</p>rl</BODY></HTML>rl'

I am able to ping the server, we are able to telnet using port 443,  so I don't understand why we are getting these errors. Should we send some format in the URL Path?,

Example https://99.99.99.99/rem.archiverResult/BTSHTTPReceive.dll, we are only sending this rem.archiverResult/BTSHTTPReceive.dll in the URL path.

Thanks in advance for your help

Regards,

Glenda

 

--
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.

To post to this group, send email to Ensemble-i...@googlegroups.com
To unsubscribe from this group, send email to Ensemble-in-Healthcare-unsub...@googlegroups.com


For more options, visit this group at http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare" group.

To unsubscribe from this group and stop receiving emails from it, send an email to Ensemble-in-Healthcare+unsub...@googlegroups.com.

SSL-TLS.JPG
SSL-TLS-set.JPG

anaya

unread,
Apr 2, 2014, 4:15:04 PM4/2/14
to Ensemble-in...@googlegroups.com
Hello Dave,
 
We still having problems with the HTTPs connection, we tested the SSL and it says connection succeded. Request: GET /HTTP/1.0, Reply HTTP 1.1 404 not found
 
1. I thought the HTTP outbound adapter will send a POST request, and that is what we supposed to send. Is there any in particular that we have to configure so it won't send a request.... well if that is really the problem.
 
2. HTTP 404 no found,  we resolved the DNS in the resolv.conf of our AIX server but we are still getting the error.  Anything else I should check
 
Regards
 
Glenda

On Wednesday, 26 March 2014 09:16:03 UTC-4, David Loveluck wrote:

Glenda

 

What are you providing for the SSL Configuration under connection settings?

 

dave

 

 

 

From: Ensemble-in...@googlegroups.com [mailto:Ensemble-in-Healt...@googlegroups.com] On Behalf Of anaya
Sent: Tuesday, March 25, 2014 3:48 PM
To: Ensemble-in...@googlegroups.com
Subject: [InterSystems-EnsHlth] HL7 HTTP Operation using SSL X.509

 

Hello,

 

We have a TCPIP Business service that receives HL7 messages,  each message goes thru a BP where we request some data to a Web Service, then the response is added to the original HL7 message, once this is done, we supposed to send the HL7 message as a POST HTTP (SSL, X.509) request. My question is do we have to create a custom HTTPS business Operation to send the request or can we use EnsLib.HL7.Operation.HTTPOperation?

 

Right now we are calling the BO using EnsLib.HL7.Operation.HTTPOperation/HTTP Outbound Adapter, but we are getting these errors:

 

Alert: Received non-OK status 404 from remote HTTP server: 'HTTP/1.1 404 Not Found' (alert request ID=2811024)

 

Error: ERROR <Ens>ErrHTTPStatus: Received non-OK status 404 from remote HTTP server: 'HTTP/1.1 404 Not Found' + ERROR <EnsEDIHL7>ErrStartBlock: Received unexpected StartBlock '' in input "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">rl<HTML><HEAD><TITLE>Not Found</TITLE>rl<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>rl<BODY><h2>Not Found</h2>rl<hr><p>HTTP Error 404. The requested resource is not found.</p>rl</BODY></HTML>rl", expected 's, on '

 

Warning: Discarding received non-HL7 data(315) '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">rl<HTML><HEAD><TITLE>Not Found</TITLE>rl<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>rl<BODY><h2>Not Found</h2>rl<hr><p>HTTP Error 404. The requested resource is not found.</p>rl</BODY></HTML>rl'

I am able to ping the server, we are able to telnet using port 443,  so I don't understand why we are getting these errors. Should we send some format in the URL Path?,

Example https://99.99.99.99/rem.archiverResult/BTSHTTPReceive.dll, we are only sending this rem.archiverResult/BTSHTTPReceive.dll in the URL path.

Thanks in advance for your help

Regards,

Glenda

 

--
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.

To post to this group, send email to Ensemble-i...@googlegroups.com
To unsubscribe from this group, send email to Ensemble-in-Healthcare-unsub...@googlegroups.com


For more options, visit this group at http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare" group.

To unsubscribe from this group and stop receiving emails from it, send an email to Ensemble-in-Healthcare+unsub...@googlegroups.com.

Capture.JPG

David Loveluck

unread,
Apr 2, 2014, 5:27:33 PM4/2/14
to Ensemble-in...@googlegroups.com

That attachment looks like the screenshot of the Test functionality in the TLS configuration page. Is that correct. That test may well do a GET, but I don’t know where it gets the URL from. My guess is that you have the TLS set up correctly and the connection is successful but the test is using the wrong url.

 

I just looked at the code in EnsLib.HL7.Operation.HTTPOperation and it seems to do a Post as you require.

 

I don’t know how else to help you. I suggest you call the WRC if you can’t work it out

 

dave

To unsubscribe from this group, send email to Ensemble-in-Healt...@googlegroups.com


For more options, visit this group at http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare" group.

To unsubscribe from this group and stop receiving emails from it, send an email to Ensemble-in-Healt...@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

--

You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.

To post to this group, send email to Ensemble-in...@googlegroups.com
To unsubscribe from this group, send email to Ensemble-in-Healt...@googlegroups.com


For more options, visit this group at http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare" group.

To unsubscribe from this group and stop receiving emails from it, send an email to Ensemble-in-Healt...@googlegroups.com.

glenda.ana...@ssss.gouv.qc.ca

unread,
Apr 3, 2014, 10:01:07 AM4/3/14
to Ensemble-in...@googlegroups.com

Hello Dave,

Thanks for replying. Yes it the screenshot of the SSL/TSL test functionality, I already open a case with Quadramed.

Merci

Glenda

Inactive hide details for David Loveluck ---2014-04-02 17:27:58---David Loveluck <David.Loveluck@intersystems.com>@googlegroupsDavid Loveluck ---2014-04-02 17:27:58---David Loveluck <David.L...@intersystems.com>@googlegroups.com


A

"Ensemble-in...@googlegroups.com" <Ensemble-in...@googlegroups.com>,

cc


Objet

RE: [InterSystems-EnsHlth] HL7 HTTP Operation using SSL X.509


---
You received this message because you are subscribed to a topic in the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/Ensemble-in-Healthcare/JLYWdrPCF8A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
Ensemble-in-Healt...@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.


Reply all
Reply to author
Forward
0 new messages