B
bfvo
Guest
I see your point. One more try however. I'm trying to call: @openapi.openedge.export(type="REST", useReturnValue="false", writeDataSetBeforeImage="false"). @progress.service.resourceMapping(type="REST", operation="read", URI="?filter=~{filter~}", alias="", mediaType="application/json"). method public void ReadSysUserRBE(filter as character, output dataset dsuser): Just a basic READ method (of the CRUD methods). if I take a look in the mapping.xml in the staging dir however I see no corresponding mapping for the filter parameter: mapping:MappingBean id="mapping" xmlns:mapping="http://www.progress.com/caf/mapping1.0" ![CDATA[ mapping:messageMapping xmlns:conditional="http://www.progress.com/caf/mapping1.0/conditional" xmlns:mapping="http://www.progress.com/caf/mapping1.0" mapping:mapInput/ mapping:mapOutput conditional:conditionalRuleSet conditional:if condition="${(rest.resourcename == 'SysUserRBE') and (rest.operationname == 'bfv.system.SysUserRBE..ReadSysUserRBE') and (rest.verb == 'GET')}" mapping:rule source="${idl.param['dsuser']}" target="${http.body}"/ /conditional:if /conditional:conditionalRuleSet /mapping:mapOutput /mapping:messageMapping ]] /mapping:MappingBean Is this correct or should there be a mapping for the filter (input) parameter as well? The stack is trying to tell something about parameters.
Continue reading...
Continue reading...