Question
· Dec 1, 2021

How to access SSLConfiguration from Adapter settings in BusinessOperation

Hi All,

I have configured Business Operation with EnsLib.HTTP.OutboundAdapter and set properties.

In the BusinessOperation method  I am trying to create %Net.HttpRequest 

Set httpRequest= ##class(%Net.HttpRequest).%New()

to post REST Service.

I am able to access HTTPServer ,URL details form Adapter using below code

Set httpRequest.Server = ..Adapter.HTTPServer
Set httpRequest.Location = ..Adapter.URL

How to read SSLConfiguration from Adapter properties?

As of now , I am hardcoding same string which I have configured for BusinessOperation Settings tab


Set httpRequest.SSLConfiguration = "ISC.FeatureTracker.SSL.Config"

 

Could you please tell me how to avoid this hardcoding code?

Product version: IRIS 2020.1
Discussion (3)1
Log in or sign up to continue