http protocol and replies

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf http protocol and replies

  • Creator
    Topic
  • #50364
    Joseph Benigno
    Participant

      Hi,

      We are in the process of building an outbound thread that sends HL7 messages to an http server.

      Since this is not tcp/ip do we need to have a reply message come back?

      If so, would it be set up the same way as tcp/ip? In other words should the http server reply with an HL7 MSA|AA message? And should be invoke the recover_33 Tcl procs?

      Thanks in advance for your help.

    Viewing 1 reply thread
    • Author
      Replies
      • #65775
        Jim Kosloskey
        Participant

          Joseph,

          To the best of my knowledge, you should have an acknowledgment for HTTP (it is using tcp/ip) as with any real time communication.

          I would also expect you should use appropriate recovery techniques.

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        • #65776
          Viken Ohannessian
          Participant

            If this is a simple http interface (no soap, no SSL), you can use the http-client protocol along with the httpQuery TPS proc supplied with cloverleaf.

            Turn on “await replies” and set a time out, the proc has built in logic to use those keys out of the NetConfig.

            The reply from the post will get passed back to the engine via the Inbound-Reply stack. You can use the recover33 procs, you may have to modify the IB-reply proc depending on how the reply is formatted.

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.