› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › http client protocol
I have a little experience with http package in Tcl but I have no idea how to actually set up the protocol in the CL GUI.
Sample screen shots would be helpful.
Thanks
Ivan,
Attached is a document with screen shots of our configuration for an https thread. Configuring an http should be similar without the need for an certificates/https info.
Hope this helps.
Jim Cobane
Henry Ford Health
Thanks for this James.
Before your reply we figured out how to code a simple HTTP POST operation in Tcl.
We haven’t plugged in the Tcl script to any test threads yet because it required an extended tcltls library which our linux environment does not have.
Theoretically, after we installed the extended library we should be able to plug the simple HTTP POST Tcl script into any protocol correct (pdl:tcp-ip)? Of course assuming that we use cloverleafs TPS template.
What do you think? Do you have any experience with this?
Thanks,
Ivan
Why not use the provided vendor supported protocol?
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.
Ivan,
I believe you would need to use the UPOC protocol if you are going to use your custom code to make/manage the connection and perform the write/post.
Jim Cobane
Henry Ford Health
James,
I tried your configuration with my url and i keep getting “SSL is not licensed – ignoring SSL configuration parameters” in my process error log.
~Ivan
If you’re not using SSL, you should uncheck the HTTPS option. I believe HTTPS requires additional licensing from Infor (which I believe is a no cost license).
Jim Cobane
Henry Ford Health
Jim,
What version of Cloverleaf are you using? I am comparing the screen shots to mine install of 5.7. I’ll be upgrading soon, before I have to get https working.
We are currently running 5.8.5 on AIX. We will be upgrading to 6.1.1 in August.
Thanks,
Jim Cobane
Henry Ford Health
We are using CL 6.0
I got my https to work using pure Tcl with package http and package tls…
but it would be nice to know how to use the http client protocol GUI from CL.
side note:
Sometimes I feel like learning and using the GUIs are harder than just using Tcl. But if I’m using all Tcl then it’s a waste of all the GUI features available with CL interface engine.
~Ivan
Ivan with regards to what James wrote:
I believe HTTPS requires additional licensing from Infor (which I believe is a no cost license).
I’m not certain but also think that the SSL license might be at no cost, but I did have to request it.
Cloverleaf has a license file ( $HCIROOT/vers/license.dat ) that will at least need an entry for SSL something like the cl-aom-ssl entry from my example below:
#—————————————————————————
# Cloverleaf 6.0 license keys for 1MC-P740-6A (hcihostid = dc2fbfacde437be5)
# initially created 2/26/2013 by Russ Ross
#—————————————————————————
FEATURE cl-pkg-cl hcilicmgrd 6.0 permanent uncounted B657D1D58D2A
HOSTID=dc2fbfacde437be5 ck=173 category=prod
FEATURE cl-intfc-master hcilicmgrd 6.0 permanent uncounted
5CDB4BFFCB8B HOSTID=dc2fbfacde437be5 ck=31 category=prod
FEATURE cl-mm-master hcilicmgrd 6.0 permanent uncounted 79E7A1C0F5FC
HOSTID=dc2fbfacde437be5 ck=10 category=prod
FEATURE cl-aom-webservices hcilicmgrd 6.0 permanent uncounted
673D50FB2E8E HOSTID=dc2fbfacde437be5 ck=103 category=prod
FEATURE cl-aom-site-doc hcilicmgrd 6.0 permanent uncounted
897D6EC548C4 HOSTID=dc2fbfacde437be5 ck=48 category=prod
FEATURE cl-aom-gmon hcilicmgrd 6.0 permanent uncounted 48BDEE1A1065
HOSTID=dc2fbfacde437be5 ck=224 category=prod
FEATURE cl-aom-ftps hcilicmgrd 6.0 permanent uncounted 24A260A23B16
HOSTID=dc2fbfacde437be5 ck=95 category=prod
FEATURE cl-aom-sftp hcilicmgrd 6.0 permanent uncounted CD6C279E2090
HOSTID=dc2fbfacde437be5 ck=238 category=prod
FEATURE cl-aom-ssl hcilicmgrd 6.0 permanent uncounted BE6BC1B25C3F
HOSTID=dc2fbfacde437be5 ck=209 category=prod
FEATURE cl-aom-odbc-mw hcilicmgrd 6.0 permanent uncounted 1E3653E8CF8B
HOSTID=dc2fbfacde437be5 ck=172 category=prod
FEATURE cl-aom-odbc-tcl hcilicmgrd 6.0 permanent uncounted
7E2185E421AC HOSTID=dc2fbfacde437be5 ck=221 category=prod
FEATURE cl-aom-sec-advanced hcilicmgrd 6.0 permanent uncounted
37360F7DB59B HOSTID=dc2fbfacde437be5 ck=210 category=prod
Once installed in your license file, it can be confirmed if it is working by running:
hcilictest cl-aom-ssl
I’ve always found it takes some effort to know what license entries are needed for what, because they are cryptically unique in the license file, but more ambiguous when people talk about them.
Russ Ross
RussRoss318@gmail.com
Ivan,
Can you share how you got it to work using tcl?
We are using CL 6.0
I got my https to work using pure Tcl with package http and package tls…
but it would be nice to know how to use the http client protocol GUI from CL.
side note:
Sometimes I feel like learning and using the GUIs are harder than just using Tcl. But if I’m using all Tcl then it’s a waste of all the GUI features available with CL interface engine.
~Ivan
Ivan,
I’m very interested in the TCL TLS solution too. Can you please share with us?
Thanks
I have a couple questions regarding the http-client protocol. This will be the first time we used this standard option which requires us to send ADT via a POST method. We have Cloverleaf 6.1.2.1.
1. Based on the screenshots posted previously by Jim Cobane, under HTTP Options; Headers: Our Cloverleaf defaults to {Content-Type “text/xml; charset=utf-8”} {User-Agent “CIS”} which seems to be different from what Jim has in the screen shot. Is this something that needs to be changed?
2. The receiving vendor says the message must be wrapped in XML. Does this protocol automatically do that? If not is there a standard way to make that happen?
I’m guessing an ADT interface using POST has been done many times. Any additional details or lessons learned would be appreciated.