Is there any JSON Service Instance to pull data ???

  • 1 August 2016
  • 1 reply
  • 0 views

Badge +10

Working with BlackPearl learn that will be very useful to pull dynamic data from all the Airports in the World [ Travel Request ]. Also usage of some on the fly Currency Exchange JSON data to consume the data in our forms, but I can't seem to find the best fit...

 

Another alternative will be to read from XML or even to pull data directly from a CSV file perhaps stored within the File System.

 

Yes for now I just create the SQL Tables and keep those updated... but wondering what could be the best of the two worlds using external dynamic data.

 

Perhaps that will be a good proyect to create GENERIC SERVICE INSTANCES that received params from a URL. where there is a capability to read/parse XML,JSON or from a File and return the properties like SMO. even if is ReadOnly.

 

Any toughts ???


1 reply

Userlevel 1
Badge +8

There will be a Rest service broker in an upcoming release (4.7 perhaps?) that would allow you to expose JSON that was described via Swagger. 

 

The challenge with Service Brokers is that they are descriptive in nature so you have to have a way to iterogate the expected return for a service, understand the data types and then expose those as properties. It would be very difficult to write a broker that could be generic as the idea of being generic doesn't play well in how Smart Objects do things.

 

S.

Reply