Question Bahram Aziz · Feb 14, 2017 How to use Ensemble Service Registry for REST Business Operation Hi,I have Healthshare/Ensemble version 2015.2.1.I created Business Operation in my ENSDEMO namespace that will connect to an external REST endpoint to send data to this external REST Service.I also created an http service in Home>Healthshare>Service Registry, under the Service Type: http. I entered the REST endpoint Name, Host, SSL Configuration, and URL. #Ensemble #Business Operation #HealthShare #REST API 0 1 0 642
Question Bahram Aziz · Dec 9, 2016 access object in a JSON array. Hi,I am working with this Ensemble Business Operation, which extends the EnsLib.Rest.Operation.http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...I built the OpenWeatherMap Rest Operation described in the article above.I would like to access the weather.id weather.main, and weather.description. However, these objects are in a JSON Array.How do you access these three objects in Objectscript. #JSON #REST API #Ensemble 0 3 0 992
Question Bahram Aziz · Dec 7, 2016 What does macro $$$URLENCODE do Hi,I was looking at the ENSDEMO namespace in our Ensemble server. In the class Demo.REST.DirectoryOperation, there is a line that uses the macro $$$URLENCODE. I would like to know exactly what does this macro $$$URLENCODE() do. Specifically what value does it. Unfortunately, I can't find anything about this macro in the Ensemble Documentation. #Object Data Model #REST API #Ensemble 0 2 0 1.4K
Question Bahram Aziz · Oct 24, 2016 In the Ensemble DTL, how do you test if an XML element exists in the source document Hi, I have an Ensemble DTL which is suppose to translate the inbound XML document to an outbound XML document. I need to test if a particular XML element exists, to perform some translation. In the DTL I have the following, <if condition='source.{element1.element2.element3}'> <true> // do something </true> </if> How do you use if statement to test the source XML document to see if a particular element exists in the source doucment. Thanks, #DTL #Ensemble 0 2 0 1.1K