Happy to use Stack overflow for Jade questions. Apart from getting answers from our community it exposes Jade to a Global user group which is a plus. Questions about what is Jade is great.
Thanks Kevin for plugging and moving on this.
Hi, Yup we had a beer at the last Jade user group - well - many beers.
Detail for those new to ActiveX usage Run 32 bit Fat client IDE, click browse External Component Libraries. Right mouse click in ActiveX tab and select import -> Automation library Find WinHtppRequest and import - Subclass ...
Have done this using winhttp to connect to an external service using certs. Called _jadeActiveXInvoke('SetClientCertificate', 1, '0.24,1.8', clientCertificate);
where clientCertificate specifies the location, certificate store, and subject of a client certificate.
If JadeHTTPConnection doesnt give you all you need its a class wrapper around Microsoft_WinHTTP_Services.
We used the Microsoft_WinHTTP_Services activex directly
The jade ini file has a setting for background processes queued lock timeouts - BackgroundProcessServerTimeout - Default is 30 secs which seems a lot. Jade docs specify - "maximum time lock operations for a background process on the server are queued before the request response is returned to ...
We ran into issues using JadeHTTPConnection with the timeout setting not working, we have a Parsys call in for it. Essentially its a wrapper for WinHttpRequest anyway so we ended up creating a RestServiceConsumer class that uses WinHttpRequest and had utility methods to make RestAPi call ...