The DataLayer.XML element gives developers the ability to retrieve data from an XML data file or REST-style web service.
The following topics introduce the DataLayer.XML element:
- DataLayer.XML Attributes
- Working with DataLayer.XML File
- Using DataLayer.XML with Input Elements
- Using DataLayer.XMLwith REST Web Services
- Using Studio's DataLayer Wizard
This element was renamed; formerly it was known asDataLayer.XML File.
The element retrieves data from a static XML file stored locally, or remotely (using a URL), or from a REST-style web service. Static XML files are very useful in Logi applications as small data sets of Input control options or configuration data that is local but external to the application and easily modified.
If you're trying to communicate with a web service that requires the TLS 1.1 or 1.2 protocol, you will need to use Logi Info v12.2-SP4 or later (earlier versions only support TLS 1.0). In addition, Info Java applications must use Oracle JDK or OpenJDK 8+ to make the protocol work.