I’m able to connect to a validation http server with post (using http protocol). I receive a response and can handle it in QDX.
Now switching to https protocol:
When using the hcitcptest tool as local https server (ClientAnon mode), the tool receives the request message.
But using https protocol (ClientAnon mode) to a validation https server doesn’t work. Entering the URL in Internet Explorer give me a result (after confirming some certification dialog windows poping up).
The https server does not require any password nor certifcate. I own a temporary license for the http package.
Sending to a validation https server (whithout any scripts) I receive:
[pd :pdtd:INFO/0: his_adtquery] [0.0.1104] Writing message to Protocol Driver http-client
Executing: httppost {URL
{ TYPE none }
}} {TIMEOUT 45} {WAIT 1} {HTTPS { {MODE ClientAnon}}} {DATA {MSH|^~&|MUSE||SNOD||20060915161822||QRY^Q01|20060915161822|P|2.2
QRD|20060915161822|R|I||||1^RD|99200661-1368|DEM
}}
httppost {URL
{ TYPE none }
}} {TIMEOUT 45} {WAIT 1} {HTTPS { {MODE ClientAnon}}} {DATA {MSH|^~&|MUSE||SNOD||20060915161822||QRY^Q01|20060915161822|P|2.2
QRD|20060915161822|R|I||||1^RD|99200661-1368|DEM
}}
01/26/2007 17:04:16
[http:wrte:ERR /0: his_adtquery] HTTP Client Error. Failed sending HTTP ‘Post’ request. Sent -1 bytes of 229.
Message was:
POST /hl7test/hl7_test_response.txt HTTP/1.1
From:
User-Agent: HCDC __cHTTPClient
Host: snod.ausystems.se
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 115
# parse out the response+==+=+==++==+=+=+=++=+=+=+=+===++=+=+=++=++==+
print response
+++=+++=++==++=+=+==+
+++=+++=++==++=+=+==+
# check for success (status code 100-299)+==+=+==++==+=+=+=++=+=+=+=+===++=+=+=++=++==+
(httpQuery/Run) Error fetching URL
Result from test with validation http server (works well):
[pd :pdtd:INFO/0: his_adtquery] [0.0.1038] Writing message to Protocol Driver http-client
Executing: httppost {URL
{ TYPE none }
}} {TIMEOUT 45} {WAIT 1} {DATA {MSH|^~&|MUSE||SNOD||20060915161822||QRY^Q01|20060915161822|P|2.2
QRD|20060915161822|R|I||||1^RD|99200661-1368|DEM
}}
httppost {URL
{ TYPE none }
}} {TIMEOUT 45} {WAIT 1} {DATA {MSH|^~&|MUSE||SNOD||20060915161822||QRY^Q01|20060915161822|P|2.2
QRD|20060915161822|R|I||||1^RD|99200661-1368|DEM
}}
# parse out the response+==+=+==++==+=+=+=++=+=+=+=+===++=+=+=++=++==+
print response
+++=+++=++==++=+=+==+
MSH|^~&|SNOD|pvs2|MUSE||20061212124356||ADR^A19|20060915161822|D|2.2|
MSA|AA|20061212124356|
QRD|20060915161822|R|I||||1^RD|20121212-1212|DEM
PID|||20121212-1212|20121212-1212|TOLVAN^TOLVANSSON F