Creating webservices with Universal Display Files
Posted: Wed Oct 01, 2014 11:11 am
I have heard that the new feature "Universal Display Files" can make it easy to create a webservice. My first question is, how much data can be read by a universal display file? I think the browser posts data to the webserver. The universal display file will receive the data and with an rpg read i can get the data. Is that correct?
If this is correct, how many data is the maximum? A normal display file record has a limited size of 32 kilobytes. Is this the maximum, i can get from the browser? Or is there a trick to get more data by using a loop in rpg?
And here my next question: We are on Profound version 4.8.6. We have a second instance with version 5.0.1. Can we write a webservice with universal display files? How does the webservice program knows which instance it has to use? Is the Libl important? Normaly we start our Genie session with a specific url. So with the url it is clear which instance to use. But i think, a webservice with universal display files is not started in a Genie session.
We already have implemented a few webservices by using IBM apis. The call for the webservice program are configured in the httpd.conf of our Apache server in the iSeries. Can our existing webservice program (we call it our "webservice handler") call a rpg program which uses universal display files? Which instance would it use?
Sorry for my poor English!
Dieter
If this is correct, how many data is the maximum? A normal display file record has a limited size of 32 kilobytes. Is this the maximum, i can get from the browser? Or is there a trick to get more data by using a loop in rpg?
And here my next question: We are on Profound version 4.8.6. We have a second instance with version 5.0.1. Can we write a webservice with universal display files? How does the webservice program knows which instance it has to use? Is the Libl important? Normaly we start our Genie session with a specific url. So with the url it is clear which instance to use. But i think, a webservice with universal display files is not started in a Genie session.
We already have implemented a few webservices by using IBM apis. The call for the webservice program are configured in the httpd.conf of our Apache server in the iSeries. Can our existing webservice program (we call it our "webservice handler") call a rpg program which uses universal display files? Which instance would it use?
Sorry for my poor English!
Dieter