F
FrankHilhorst
Guest
Hi Peter, We are capturing the payload of the rest service as a longchar with the following code. (ocContent is a longchar and the payload is usually in JSON format) IF TYPE-OF(oEntity, JsonObject) THEN DO: CAST(oEntity,JsonObject):WRITE(input-output ocContent). END. ELSE IF TYPE-OF(oEntity, WidgetHandle) THEN DO: CAST(oEntity, WidgetHandle):Value:SAVE ("longchar",ocContent). END. ELSE IF TYPE-OF(oEntity, String) THEN DO: ocContent = CAST(oEntity, String):VALUE. END. ELSE DO: ocContent = oEntity:ToString(). END. END.
Continue reading...
Continue reading...