Forum Post: RE: REST - update parameter mapping?

Status
Not open for further replies.
R

RamaDevi

Guest
Hi, Remapping the verb to the procedure clears out all the existing mappings. It is the expected behavior of Rest expose editor. To use an ABL class and procedure files in a REST service, you require the REST interface annotations to be defined in the ABL procedure or class file, and then generate a .pidl file. The .pidl file is required for the ABL class and procedure file to communicate with the REST process. When you associate a REST resource verb with a REST interface annotated ABL procedure (.p) or class (.cls) file in the Associate Operation with Verb dialog, the REST invocation (.pidl) file of the selected ABL class or procedure file is automatically created. If you check, ‘Generate REST invocation files’, it automatically generate REST .pidl files whenever a build occurs for the project. The generated REST invocation (.pidl) files are located under the .services node in your REST project. The generated .pidl file has the same name as that of the ABL procedure or class file name. If the location is specified in the File Destinations properties page, .pidl files generated are stored in the location specified. For the error/warning you mentioned, there might be some problem with the procedure file(s) you used in mappings. Please share the procedure file(s) with us to find out what is causing the issue. Thanks, Rama.

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