I have a RO service (delphi server) with ClassFactory like:
TROClassFactory.Create(‘MyService’, Create_MyService, TRORTTIInvoker);
I’m access my service by http post (use Postman for tests). When I call function that contains native type return, thats ok, but if my function service contains TJSONObject or person object return (TMyObject for exemple), the following error is returned:
{“version”: “1.1”,
“error”: {
“name”: “JsonRPCError”,
“code”: “1”,
“message”: “Type “tkClass” not supported”},
“result”: null}.
I can not have these types of results in my service?
Thanks.