[Progress Communities] [Progress OpenEdge ABL] Forum Post: OE11.7 PAS rest response

  • Thread starter Thread starter MalfaitJ
  • Start date Start date
Status
Not open for further replies.
M

MalfaitJ

Guest
Hi all, I'm currently in the works of moving our current REST service from the 'classic' appserver to the 'new' PAS. I have a issue with some of my calls that dont return a dataset or table but instead return a simple boolean or integer. @openapi.openedge.export(type="REST", useReturnValue="false", writeDataSetBeforeImage="false"). @progress.service.resourceMapping(type="REST", operation="read", URI="~{xyuserid}", alias="", mediaType="application/json"). METHOD PUBLIC VOID GetLoginTaken( INPUT XYUserId AS INT64, INPUT Login AS CHARACTER, OUTPUT isTaken AS LOGICAL): END METHOD. this results in the following response from the GET No message body writer has been found for class java.lang.Boolean, ContentType: application/json Someone who bumped into this before? I would like to keep the calls as is. if nothing else i could wrap them in a table. Many thanks Jens

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