HTTP Thread ACK

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf HTTP Thread ACK

  • Creator
    Topic
  • #53435
    Mike Willeson
    Participant

      Trying to send immunization data using an http-client thread.  The sending portion of the thread is working fine and the sending system is receiving and posting the data.

      I am having trouble processing the ACK.  The warning I get is “[pd :pdtd: WARN/0:p7_test_immunizations_o: 12/28/2012 09:14:03] Timed out while awaiting replies on thread. Resending reserved OB Message.”

      For the ACK, I have been using the standard cloverleaf cl_check_ack procedure in the Inbound Replies section of the Outbound tab. The checkmark for Await Replies is checked.  This is the typical setup we use for the traditional HL7 acks.

      I think I have seen reference to a TCL script that should be used for interpreting http acknowledgements instead of the usual cl_check_ack.

      If anyone can confirm that I need a different type of TCL script for the acknowledgments I would appreciate it.  If that is the case, I would also REALLY appreciate an example of the http ack script.

      Thanks in advance.

      Mike

    Viewing 5 reply threads
    • Author
      Replies
      • #77697
        Arslan Khan
        Participant

          Are you sending data to a URL?

          If yes, you cannot use the standard ack/nak tcl proc. For HTTP connections, you may want to use the httpQueryCurl proc. This comes with CL package.

          Let me know if you need any more info.

          Thanks.

          Arslan

        • #77698
          Mike Willeson
          Participant

            Thanks Arslan.

          • #77699
            Arslan Khan
            Participant

              You cannot use the httpQuery proc under outbound replies tab. It has to be configured under the http client connection details tab (where you specify client URL etc). I hope this helps.

            • #77700
              Mike Willeson
              Participant

                Well, I hear what you are saying, but am still unsure how the thread as a whole is to be configured.  I have a TCL under the client connection details that is correctly connecting and posting the details to the receiving system.

                Is this TCL supposed to handle the ACK and if so, do I not configure the Inbound replies section of the Outbound tab?  I currently have that set to ‘Await Replies’ and have been trying to figure out what to use for an acknoweldgement handler.

                Perhaps if you could offer an overview of how this thread is supposed to be configured or how the ACK Is supposed to work that might shed some light for me.

                I apprecaite your help with all of my questions.

              • #77701
                Arslan Khan
                Participant

                  Mike,

                  I am not too familiar with HTTP connection configuration but below link share the frustration of CL users:

                  https://usspvlclovertch2.infor.com/viewtopic.php?t=2897&highlight=http

                  This is what I see from Infor support:

                  https://usspvlclovertch2.infor.com/viewtopic.php?t=3088&highlight=http

                  Here is another helpful suggestion:

                  https://usspvlclovertch2.infor.com/viewtopic.php?t=1498&highlight=http

                  I hope this helps.

                  Arslan

                • #77702
                  David Barr
                  Participant

                    We have a similar interface, and I ended up writing a small proxy server (110 lines of TCL code) that receives messages from Cloverleaf through MLLP TCP/IP and posts the messages to our state registry.

                    The script requires the HL7 library that I’ve posted in the TCL section of the forum, the TCL TLS library and the hl7Raw_ack proc.

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