I am working with this Ensemble Business Operation, which extends the EnsLib.Rest.Operation.
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.
In my, Test.REST.WeatherOperation class, I added these three lines.
set pResponse.WeatherMain = tProxy.weather.main
set pResponse.WeatherDescription = tProxy.weather.description
Also, in my Test.REST.WeatherResponse, response message class I added these three lines.
Property WeatherMain As %String;
Property WeatherDescription As %String;
I get this error, with the code I have.
ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>
Thanks in Advance.