SSL/TLS protocol and SOAP question

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf SSL/TLS protocol and SOAP question

  • Creator
    Topic
  • #54140
    Mike Campbell
    Participant

      Cloverleaf 6.0, AIX configuration.

      Setting up a connection with Iowa Department of Health to send VXU [vaccination] messages to them, real-time using Soap and SSL/TLS protocol.

      So a couple of quesitons:

    Viewing 2 reply threads
    • Author
      Replies
      • #80312
        Chad Flodman
        Participant

          Mike – we’re still on v5.8r5, so some things are going to be a bit differnet for us; like where to put the Tcl proc, how the protocol / thread are configured, etc….  On our version this is inlcuded in an HTTP protocol thread in the queryTPS proc and we have the ssl license.  Here in California for our Public Health Agency (PHA) connection, I had a wsdl to follow for the SOAP envelope and I just used Tcl to wrap it around the hl7 message like below.  The variable $inMsg is the HL7 VXU message coming into the engine.

          Code:

          ….
          # Apply SOAP-ENV to the HL7 Message
          set soapenv {USERNAMEPASSWORDCAIR}
          ….

          Then set your outbound message handle to the variable soapenv, which has the SOAP enveloped HL7 message.  Similar to;

          Code:


          msgset $mh $soapenv
          lappend dispList “CONTINUE $mh”

          This is all sent over TCP ssl secured connection.  It may not be very elegant, but it’s been doing the job for us for now.  One thing to watch for is most like the “ACK/NAK” will be returned to you in XML (SOAP enveloped), so you’ll most likely need a proc to deal with the reply unless you ignore them.  I just stipped out the HL7 from the XML then ran it through the regular cl_check_ack that we use.

        • #80313
          Mike Campbell
          Participant

            Thanks Chad!  

            The code seems to be working as expected.

            Love it when a plan comes together!!  ðŸ˜€

          • #80314
            RUDY RAMOS
            Participant

              Do I ned a license from Cloverleaf for SSL?

              where do I start to do an SSL conection

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