QDX 5.5 HTTP protocol

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf QDX 5.5 HTTP protocol

  • Creator
    Topic
  • #49338
    Mary Sinclair
    Participant

      I need to develop an http protocol using an existing tcp/ip adt interface to a SQL database backend. has anyone configured an http interface yet, and how difficult was it? Thanks in advance for your feedback.

    Viewing 1 reply thread
    • Author
      Replies
      • #61559
        Vincent Tran
        Participant

          I’ve never done it before but am interested in how you would do this in Cloverleaf.

          If I am correct, it is not possible to code a protocol to be selected in the protocol drop down. So maybe you would code a pdl, using the pdl-tcpip protocol. I know the minimum lower layer protocol (mlp-tcpip.pdl) retrieves the message data between 0x0b, 0x1c0x0d bytes. Perhaps you can copy this code but change it to retreive the message data between some html tags.

        • #61560
          Dirk Engels
          Participant

            Hi,

            well in fact the http protocol is a tcl proc.

            The gui just select some arguments which the tcl proc will use.

            In the ‘driver control procedures’ in the http protocol client gui you have to specify a tcl proc which will be executed. It’s just like a upoc protocol. You can configure it message driven or time driven.

            In the proc you execute a httppost, -get or -put command with the arguments.

            Just look in the documentation. There are some good examples.

            I’ve also added my tclproc as an example.

            Good luck 😀

            Dirk

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