I'm trying to use <http> <Session> tag on enhanced service protocol to put data to API but connection status is always empty. I used the same logic on and element and it worked. So I'm wondering if that's a bug or a feature which needs to be added to Dataminer. Is there any other way to put data to API from enhanced service for example using QA?
Hi,
I don't believe that this is supported. The main connection type is defined in the <Type>, which is set to <Type>service</Type> for an enhanced service and it should be set to <Type>http</Type> when http communication should be executed. So this seems to be conflicting here.
The best way forward is to create a real http driver that does the communication and then include that element (or some parameters of it) in the service. And if needed, have an enhanced service that does some extra processing on the values of the included elements. By using a real http driver, you'll benefit from other core DataMiner functionalities such as detecting when the communication goes into timeout.