Forum Post: RE: REST - update parameter mapping?

  • Thread starter Thread starter RamaDevi
  • Start date Start date
Status
Not open for further replies.
R

RamaDevi

Guest
Hi Stefan, Please see my comments inline. If remapping clears out the existing mapping as expected - what is the expected procedure to update a mapping? [Rama]: You need to recreate the mappings from the scratch. This is how it is designed. Whenever you associate a ABL procedure/class file with a verb, corresponding '.pidl' file will be generated. This '.pdl' file contains the information about the mappings and the details of Input/output/Input-output parameters. You can update mappings by dragging and dropping the mappings between the parameters in Input and out put tabs. If the ABL procedure/class is updated with some other parameters, whenever you de associate and re associate the file with same verb, the '.pidl' will get regenerated freshly. This won't preserve the old mappings data. So all the mappings will disappear. I have been able to deploy the war and execute the rest services fine - it wasn't until I looked for a more efficient way to update the mapping that I enabled the 'generate REST invocation files'. What is creating the pidl files if it is not the build? [Rama]: Even though if you do not build the project, reassociation of verbs with procedure/class files creates the .pidl files each time. The errors in the log confuse me somewhat: [Rama]: We are not sure about these errors. Please share the project with us. Thanks, Rama.

Continue reading...
 
Status
Not open for further replies.
Back
Top