[Progress Communities] [Progress OpenEdge ABL] Forum Post: REST Procedure not working

  • Thread starter Thread starter danimasa
  • Start date Start date
Status
Not open for further replies.
D

danimasa

Guest
Hello I'm trying to add a endpoint to my REST Service, so I wrote a procedure and published it but, when I try to define an output parameter I'm getting an error. That is the code that works: PROCEDURE parametros: DEFINE INPUT PARAMETER charinput AS CHARACTER NO-UNDO. END PROCEDURE. If I try to add an output parameter like this: PROCEDURE parametros: DEFINE INPUT PARAMETER charinput AS CHARACTER NO-UNDO. DEFINE OUTPUT PARAMETER teste AS CHARACTER NO-UNDO. ASSIGN teste = "Teste". END PROCEDURE. I get the following error from the server: { "messages": [ { "code": "", "type": "error", "detail": "ParameterSet error: Tried to get output before it is ready. (7194)" } ], "length": null, "data": null } Someone could help me get out of that? Thanks

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